GLKMatrix4MakeWithArray(_:)
Returns a 4x4 matrix created from an array of component values.
Declaration
func GLKMatrix4MakeWithArray(_ values: UnsafeMutablePointer<Float>!) -> GLKMatrix4Parameters
- 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
GLKMatrix4Make(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)GLKMatrix4MakeAndTranspose(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)GLKMatrix4MakeWithArrayAndTranspose(_:)GLKMatrix4MakeWithColumns(_:_:_:_:)GLKMatrix4MakeWithRows(_:_:_:_:)GLKMatrix4MakeRotation(_:_:_:_:)GLKMatrix4MakeXRotation(_:)GLKMatrix4MakeYRotation(_:)GLKMatrix4MakeZRotation(_:)GLKMatrix4MakeWithQuaternion(_:)GLKMatrix4MakeScale(_:_:_:)GLKMatrix4MakeTranslation(_:_:_:)GLKMatrix4MakeLookAt(_:_:_:_:_:_:_:_:_:)GLKMatrix4MakeOrtho(_:_:_:_:_:_:)GLKMatrix4MakePerspective(_:_:_:_:)