Contents

GLKMatrix3Invert(_:_:)

Returns the inverse of a matrix.

Declaration

func GLKMatrix3Invert(_ matrix: GLKMatrix3, _ isInvertible: UnsafeMutablePointer<Bool>!) -> GLKMatrix3

Parameters

  • matrix:

    A 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 matrix. Otherwise, the identity matrix is returned.

See Also

Performing Mathematical Operations on Matrices