Contents

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 x coordinate of the rotation axis.

  • y:

    The y coordinate of the rotation axis.

  • z:

    The z coordinate of the rotation axis.

See Also

Functions