Package: graphene

Function graphene:euler-init-from-vec3

Lambda List

graphene:euler-init-from-vec3 (euler vector &optional order)

Arguments

euler -- a graphene:euler-t instance
vector -- a graphene:vec3-t instance containing the rotation angles in degrees
order -- an optional graphene:euler-order-t value for 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 angles contained in the vector. If the vector argument is nil, the graphene:euler-t instance will be initialized with all angles set to 0.
 

See also

2025-4-7