Skip to main content
Glama
lerp.js446 B
const lerp = (a, b, t) => a + t * (b - a); const unlerp = (a, b, v) => (v - a) / (b - a); const blerp = (a00, a01, a10, a11, tx, ty) => { return lerp(lerp(a00, a01, tx), lerp(a10, a11, tx), ty); }; const trilerp = ( a000, a010, a100, a110, a001, a011, a101, a111, tx, ty, tz ) => { return lerp( blerp(a000, a010, a100, a110, tx, ty), blerp(a001, a011, a101, a111, tx, ty), tz ); }; export { lerp, blerp, trilerp, unlerp };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MatheusgVentura/Project-One'

If you have feedback or need assistance with the MCP directory API, please join our Discord server