Functions

lerp(a: M44f, b: M44f, t: float) M44f

Return an interpolation of a and b regarding t. The matrices are decomposed and their scale, shear, quaternion, and translation components are linearly interpolated using this formula: a * (1 - t) + b * t.

The quaternions are interpolated using the shortest arc slerp method.

lerp(a: M44d, b: M44d, t: double) M44d

Return an interpolation of a and b regarding t. The matrices are decomposed and their scale, shear, quaternion, and translation components are linearly interpolated using this formula: a * (1 - t) + b * t.

The quaternions are interpolated using the shortest arc slerp method.