Contents

GLKMatrix4MakeWithArrayAndTranspose(_:)

Returns a 4x4 transposed matrix created from an array of component values.

Declaration

func GLKMatrix4MakeWithArrayAndTranspose(_ values: UnsafeMutablePointer<Float>!) -> GLKMatrix4

Parameters

  • values:

    An array of component values, in column-major order.

Return Value

A new matrix.

Discussion

The matrix is created and then transposed, before being returned to your application.

The values at indices 3, 7, and 11 correspond to the translation values tx, ty, and tz, respectively.

See Also

Creating Matrices