• Linearly interpolates between two 4x4 matrices.

    Parameters

    • t: number

      The interpolation factor.

    • t1: number

      The start of the interpolation range.

    • t2: number

      The end of the interpolation range.

    • m1: Mat4

      The first matrix.

    • m2: Mat4

      The second matrix.

    • Optionaldest: Mat4

      Optional destination matrix, if not provided a new matrix will be created.

    Returns Mat4

    The interpolated matrix.