linearly v0.32.0Docs


linearly v0.32.0 / quat / slerp

Function: slerp()

slerp(a, b, t): quat

Performs a spherical linear interpolation between two quat

Parameters

a: quat

the first operand

b: quat

the second operand

t: number

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

Returns

quat

Defined in

src/quat.ts:291open in new window