GLKMatrix3Rotate(_:_:_:_:_:)
Returns a new 3x3 matrix created by concatenating a matrix with a rotation around a vector.
Declaration
func GLKMatrix3Rotate(_ matrix: GLKMatrix3, _ radians: Float, _ x: Float, _ y: Float, _ z: Float) -> GLKMatrix3Parameters
- matrix:
The source matrix.
- radians:
The angle of the rotation (a positive angle is counterclockwise).
- x:
The
xcomponent of the rotation vector. - y:
The
ycomponent of the rotation vector. - z:
The
zcomponent of the rotation vector.
Return Value
A new matrix.
See Also
Performing Mathematical Operations on Matrices
GLKMatrix3Invert(_:_:)GLKMatrix3Transpose(_:)GLKMatrix3InvertAndTranspose(_:_:)GLKMatrix3Multiply(_:_:)GLKMatrix3RotateWithVector3(_:_:_:)GLKMatrix3RotateWithVector4(_:_:_:)GLKMatrix3RotateX(_:_:)GLKMatrix3RotateY(_:_:)GLKMatrix3RotateZ(_:_:)GLKMatrix3Scale(_:_:_:_:)GLKMatrix3ScaleWithVector3(_:_:)GLKMatrix3ScaleWithVector4(_:_:)GLKMatrix3Add(_:_:)GLKMatrix3Subtract(_:_:)