linearly v0.32.0Docs


linearly v0.32.0 / quat / sqlerp

Function: sqlerp()

sqlerp(a, b, c, d, t): quat

Performs a spherical linear interpolation with two control points

Parameters

a: quat

the first operand

b: quat

the second operand

c: quat

the third operand

d: quat

the fourth operand

t: number

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

Returns

quat

Defined in

src/quat.ts:607open in new window