axis_to_rotation_matrix#
- static Quaternion.axis_to_rotation_matrix(x_axis, y_axis, z_axis)#
Construct a rotation matrix from three orthonormal axes.
- Parameters:
- Returns:
tuple
of
tuples
A 3x3 rotation matrix where each column is one of the given axes.
- Raises:
ValueError
If the axes do not form an orthonormal basis.