Function lerpMat4

  • 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: FloatArrayParam

      The first matrix.

    • m2: FloatArrayParam

      The second matrix.

    • Optionaldest: FloatArrayParam

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

    Returns
        | Uint8Array
        | Int8Array
        | Uint16Array
        | Uint32Array
        | Int16Array
        | Float32Array
        | number[]
        | Float64Array<any>

    The interpolated matrix.