create Rotation X
fun createRotationX(angle: Double, angleUnit: AngleUnit = AngleUnit.RADIANS): AffineTransformationMatrix3(source)
Creates a rotation transformation matrix around the X-axis.
Return
A new AffineTransformationMatrix3 representing the rotation.
Parameters
angle
The angle to rotate around the X-axis.
angle Unit
The unit of the angle, defaults to AngleUnit.RADIANS.