Contents

GLKMatrix3MakeZRotation(_:)

Returns a 3x3 matrix that performs a rotation around the positive z-axis.

Declaration

func GLKMatrix3MakeZRotation(_ radians: Float) -> GLKMatrix3

Parameters

  • radians:

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

Return Value

A new rotation matrix.

See Also

Creating Matrices