five-on-it / packages/shared/src/math / nlerpQuat
Function: nlerpQuat()
nlerpQuat(
a,b,t):Quat
Defined in: packages/shared/src/math.ts:75
Normalized linear interpolation between two unit quaternions, taking the short arc. Good enough for the small per-frame steps of entity interpolation.
Parameters
a
b
t
number