Contents

GLKMatrix3RotateZ(_:_:)

Returns a new 3x3 matrix created by concatenating a matrix with a rotation around the z-axis.

Declaration

func GLKMatrix3RotateZ(_ matrix: GLKMatrix3, _ radians: Float) -> GLKMatrix3

Parameters

  • matrix:

    The source matrix.

  • radians:

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

Return Value

A new matrix.

See Also

Performing Mathematical Operations on Matrices