Euler.initFromVec3
graphene.euler.Euler initFromVec3(graphene.vec3.Vec3 v, graphene.types.EulerOrder order)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
v | a #graphene_vec3_t containing the rotation angles in degrees |
order | the order used to apply the rotations |
Returns
the initialized #graphene_euler_t