linearly v0.32.0Docs


linearly v0.32.0 / vec3 / hermite

Function: hermite()

hermite(a, b, c, d, t): vec3

Performs a hermite interpolation with two control points

Parameters

a: vec3

the first operand

b: vec3

the second operand

c: vec3

the third operand

d: vec3

the fourth operand

t: number

interpolation amount, in the range [0-1], between the two inputs

Returns

vec3

Defined in

src/vec3.ts:622open in new window