from Euler
Converts Euler angles to quaternion using ZYX (yaw-pitch-roll) convention.
Parameters
result
The quaternion to store the result in
euler
The Euler angles to convert from
Creates a new quaternion from Euler angles.
Return
A new quaternion representing the rotation
Parameters
roll
Rotation around X axis
pitch
Rotation around Y axis
yaw
Rotation around Z axis