rotate
fun rotate(firstAngle: Double, secondAngle: Double, thirdAngle: Double, sequence: RotationSequence, angleUnit: AngleUnit = AngleUnit.RADIANS): AffineTransformationMatrix3(source)
Applies a combined rotation around multiple axes using the specified rotation sequence.
Return
A new affine transformation matrix with the combined rotation applied.
Parameters
first Angle
The first rotation angle.
second Angle
The second rotation angle.
third Angle
The third rotation angle.
sequence
The rotation sequence to use (e.g., ZYX, XYZ).
angle Unit
The unit of the angles, defaults to AngleUnit.RADIANS.