For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Function bezier
-
bezier(
out: vec3,
a: ReadonlyVec3,
b: ReadonlyVec3,
c: ReadonlyVec3,
d: ReadonlyVec3,
t: number,
): vec3Parameters
- out: vec3
the receiving vector
- a: ReadonlyVec3
the first operand
- b: ReadonlyVec3
the second operand
- c: ReadonlyVec3
the third operand
- d: ReadonlyVec3
the fourth operand
- t: number
interpolation amount, in the range [0-1], between the two inputs
Returns vec3
out
- out: vec3
Performs a bezier interpolation with two control points