Contents

GLKMatrix4MakeZRotation(_:)

Returns a 4x4 matrix that performs a rotation around the positive z-axis.

Declaration

func GLKMatrix4MakeZRotation(_ radians: Float) -> GLKMatrix4

Parameters

  • radians:

    The angle of the rotation (a positive angle is counterclockwise).

Return Value

A new rotation matrix.

See Also

Creating Matrices