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.

class Euler
initFromVec3

Parameters

v Vec3

a #graphene_vec3_t containing the rotation angles in degrees

order graphene_euler_order_t

the order used to apply the rotations

Return Value

Type: Euler

the initialized #graphene_euler_t

Meta