GLKMatrix4MakeWithRows(_:_:_:_:)
Returns a 4x4 matrix created from four row vectors.
Declaration
func GLKMatrix4MakeWithRows(_ row0: GLKVector4, _ row1: GLKVector4, _ row2: GLKVector4, _ row3: GLKVector4) -> GLKMatrix4Parameters
- row0:
The first row. The last component of the vector provides the x coordinate’s translation value.
- row1:
The second row. The last component of the vector provides the y coordinate’s translation value.
- row2:
The third row. The last component of the vector provides the z coordinate’s translation value.
- row3:
The fourth row.
Return Value
A new matrix.
See Also
Creating Matrices
GLKMatrix4Make(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)GLKMatrix4MakeAndTranspose(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)GLKMatrix4MakeWithArray(_:)GLKMatrix4MakeWithArrayAndTranspose(_:)GLKMatrix4MakeWithColumns(_:_:_:_:)GLKMatrix4MakeRotation(_:_:_:_:)GLKMatrix4MakeXRotation(_:)GLKMatrix4MakeYRotation(_:)GLKMatrix4MakeZRotation(_:)GLKMatrix4MakeWithQuaternion(_:)GLKMatrix4MakeScale(_:_:_:)GLKMatrix4MakeTranslation(_:_:_:)GLKMatrix4MakeLookAt(_:_:_:_:_:_:_:_:_:)GLKMatrix4MakeOrtho(_:_:_:_:_:_:)GLKMatrix4MakePerspective(_:_:_:_:)