Euler.initFromQuaternion

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.

class Euler
initFromQuaternion

Parameters

q Quaternion

a normalized #graphene_quaternion_t

order graphene_euler_order_t

the order used to apply the rotations

Return Value

Type: Euler

the initialized #graphene_euler_t

Meta