Package: graphene

Function graphene:euler-init-from-quaternion

Lambda List

graphene:euler-init-from-quaternion (euler quaternion &optional order)

Arguments

euler -- a graphene:euler-t instance
quaternion -- a normalized graphene:quaternion-t instance
order -- an optional graphene:euler-order-t value with the order used to apply the rotations, the default value is :default

Return Value

The initialized graphene:euler-t instance.

Details

Initializes a graphene:euler-t instance using the given normalized quaternion. If the quaternion argument is nil, the graphene:euler-t instance will be initialized with all angles set to 0.
 

See also

2024-9-9