Contents

GLKMatrix4MakeWithArray(_:)

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

Declaration

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

Parameters

  • values:

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

Return Value

A new matrix.

Discussion

The values at indices 12, 13, and 14 correspond to the translation values tx, ty, and tz, respectively.

See Also

Creating Matrices