rotation
Extracts and returns the rotation-only Mat4 from m by normalizing its basis vectors.
Returns a rotation Mat4 from Euler angles (in degrees) in the specified order.
Return
the rotation matrix
Parameters
per-axis Euler angles in degrees
the rotation order; defaults to RotationsOrder.ZYX
Returns a rotation Mat4 from individual Euler angles in radians in the specified order.
Return
the rotation matrix
Parameters
rotation around the first axis in radians
rotation around the second axis in radians
rotation around the third axis in radians
the rotation order; defaults to RotationsOrder.ZYX
Returns a rotation Mat4 around axis by angle degrees.
Return
the rotation matrix
Parameters
the rotation axis (need not be normalized)
the rotation angle in degrees
Returns a rotation Mat4 from the given quaternion (normalized internally).
Return
the rotation matrix
Parameters
the source rotation; need not be normalized