Euler.initFromVec3

Initializes a #graphene_euler_t using the angles contained in a #graphene_vec3_t.

If the #graphene_vec3_t v is null, the #graphene_euler_t will be initialized with all angles set to 0.

Parameters

va #graphene_vec3_t containing the rotation angles in degrees
orderthe order used to apply the rotations

Returns

the initialized #graphene_euler_t