GLKMatrixStackRotate(_:_:_:_:_:)
Replaces the contents of the top matrix with a matrix calculated by composing the top matrix with a rotation around an arbitrary axis.
Declaration
func GLKMatrixStackRotate(_ stack: GLKMatrixStack, _ radians: Float, _ x: Float, _ y: Float, _ z: Float)Parameters
- stack:
A matrix stack.
- radians:
The angle of the rotation (a positive angle is counterclockwise).
- x:
The
xcoordinate of the rotation axis. - y:
The
ycoordinate of the rotation axis. - z:
The
zcoordinate of the rotation axis.
See Also
Functions
GLKMatrixStackCreate(_:)GLKMatrixStackGetMatrix2(_:)GLKMatrixStackGetMatrix3(_:)GLKMatrixStackGetMatrix3Inverse(_:)GLKMatrixStackGetMatrix3InverseTranspose(_:)GLKMatrixStackGetMatrix4(_:)GLKMatrixStackGetMatrix4Inverse(_:)GLKMatrixStackGetMatrix4InverseTranspose(_:)GLKMatrixStackGetTypeID()GLKMatrixStackLoadMatrix4(_:_:)GLKMatrixStackMultiplyMatrix4(_:_:)GLKMatrixStackMultiplyMatrixStack(_:_:)GLKMatrixStackPop(_:)GLKMatrixStackPush(_:)GLKMatrixStackRotateWithVector3(_:_:_:)