Contents

GLKMatrix4GetMatrix2(_:)

Returns the upper-left 2x2 section of a 4x4 matrix.

Declaration

func GLKMatrix4GetMatrix2(_ matrix: GLKMatrix4) -> GLKMatrix2

Parameters

  • matrix:

    A 4x4 matrix.

Return Value

A new 2x2 matrix.

See Also

Working With Parts of a Matrix