Contents

GLKMatrix4InvertAndTranspose(_:_:)

Returns the inverse transpose of a matrix.

Declaration

func GLKMatrix4InvertAndTranspose(_ matrix: GLKMatrix4, _ isInvertible: UnsafeMutablePointer<Bool>?) -> GLKMatrix4

Parameters

  • matrix:

    A 4x4 matrix.

  • isInvertible:

    On return, this holds True if the matrix was inverted or False if the matrix is not invertible.

Return Value

If isInvertible was set to true, this holds an inverted and transposed matrix. Otherwise, the identity matrix is returned.

See Also

Performing Mathematical Operations on Matrices