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:
tupleoftuplesA 3x3 rotation matrix where each column is one of the given axes.
- Raises:
ValueErrorIf the axes do not form an orthonormal basis.