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
firstAngle
The first rotation angle.
secondAngle
The second rotation angle.
thirdAngle
The third rotation angle.
sequence
The rotation sequence to use (e.g., ZYX, XYZ).
angleUnit
The unit of the angles, defaults to AngleUnit.RADIANS.