createRotationY

fun createRotationY(angle: Double, angleUnit: AngleUnit = AngleUnit.RADIANS): AffineTransformationMatrix3(source)

Creates a rotation transformation matrix around the Y-axis.

Return

A new AffineTransformationMatrix3 representing the rotation.

Parameters

angle

The angle to rotate around the Y-axis.

angleUnit

The unit of the angle, defaults to AngleUnit.RADIANS.