Checks if the given rotation is a quaternion. If not, converts the Euler angles to a quaternion.
The rotation to check or convert, represented as a Float32Array.
The quaternion representation of the rotation.
Checks if the given rotation is a quaternion. If not, converts the Euler angles to a quaternion.