init_from_quaternion
Description:
Initializes a Euler using the given normalized quaternion.
If the Quaternion q
is null
, the Euler will be initialized with all angles set to 0.
Parameters:
this |
a Euler |
q |
a normalized Quaternion |
order |
the order used to apply the rotations |
Returns:
the initialized Euler |