GLKMatrix3MakeZRotation(_:)
Returns a 3x3 matrix that performs a rotation around the positive z-axis.
Declaration
func GLKMatrix3MakeZRotation(_ radians: Float) -> GLKMatrix3Parameters
- radians:
The angle of the rotation (a positive angle is counterclockwise).
Return Value
A new rotation matrix.
See Also
Creating Matrices
GLKMatrix3Make(_:_:_:_:_:_:_:_:_:)GLKMatrix3MakeAndTranspose(_:_:_:_:_:_:_:_:_:)GLKMatrix3MakeWithArray(_:)GLKMatrix3MakeWithArrayAndTranspose(_:)GLKMatrix3MakeWithColumns(_:_:_:)GLKMatrix3MakeWithRows(_:_:_:)GLKMatrix3MakeRotation(_:_:_:_:)GLKMatrix3MakeXRotation(_:)GLKMatrix3MakeYRotation(_:)GLKMatrix3MakeWithQuaternion(_:)GLKMatrix3MakeScale(_:_:_:)