GLKMatrix3
Overview
The GLKMatrix3 type defines a 3x3 floating-point matrix as well as many mathematical operations commonly used to manipulate matrices. A 3x3 matrix is commonly used in graphics programming to represent scaling or rotation transformations to convert from one coordinate system to another.
The functions that manipulate GLKMatrix3 structures treat the inputs as immutable, instead returning a new matrix that represent the results of the operation.
Topics
Creating Matrices
GLKMatrix3Make(_:_:_:_:_:_:_:_:_:)GLKMatrix3MakeAndTranspose(_:_:_:_:_:_:_:_:_:)GLKMatrix3MakeWithArray(_:)GLKMatrix3MakeWithArrayAndTranspose(_:)GLKMatrix3MakeWithColumns(_:_:_:)GLKMatrix3MakeWithRows(_:_:_:)GLKMatrix3MakeRotation(_:_:_:_:)GLKMatrix3MakeXRotation(_:)GLKMatrix3MakeYRotation(_:)GLKMatrix3MakeZRotation(_:)GLKMatrix3MakeWithQuaternion(_:)GLKMatrix3MakeScale(_:_:_:)
Working With Parts of a Matrix
GLKMatrix3GetMatrix2(_:)GLKMatrix3GetColumn(_:_:)GLKMatrix3GetRow(_:_:)GLKMatrix3SetColumn(_:_:_:)GLKMatrix3SetRow(_:_:_:)
Performing Mathematical Operations on Matrices
GLKMatrix3Invert(_:_:)GLKMatrix3Transpose(_:)GLKMatrix3InvertAndTranspose(_:_:)GLKMatrix3Multiply(_:_:)GLKMatrix3Rotate(_:_:_:_:_:)GLKMatrix3RotateWithVector3(_:_:_:)GLKMatrix3RotateWithVector4(_:_:_:)GLKMatrix3RotateX(_:_:)GLKMatrix3RotateY(_:_:)GLKMatrix3RotateZ(_:_:)GLKMatrix3Scale(_:_:_:_:)GLKMatrix3ScaleWithVector3(_:_:)GLKMatrix3ScaleWithVector4(_:_:)GLKMatrix3Add(_:_:)GLKMatrix3Subtract(_:_:)