Contents

GLKMatrix4MakeYRotation(_:)

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

Declaration

func GLKMatrix4MakeYRotation(_ 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