Function inverse

  • Computes the inverse of a 4-by-4 matrix.

    Parameters

    • m: Mat4

      The matrix.

    • Optional dst: Mat4

      matrix to hold result. If not passed a new one is created.

    Returns Mat4

    The inverse of m.