Euler.initFromQuaternion
graphene.euler.Euler initFromQuaternion(graphene.quaternion.Quaternion q, graphene.types.EulerOrder order)Initializes a #graphene_euler_t using the given normalized quaternion.
If the #graphene_quaternion_t q is null, the #graphene_euler_t will be initialized with all angles set to 0.
Parameters
q | a normalized #graphene_quaternion_t |
order | the order used to apply the rotations |
Returns
the initialized #graphene_euler_t