Package: graphene

Function graphene:quaternion-to-angle-vec3

Lambda List

graphene:quaternion-to-angle-vec3 (quaternion axis)

Syntax

(graphene:quaternion-to-angle-vec3 quaterion result) => angle, result

Arguments

quaternion -- a graphene:quaternion-t instance
result -- a graphene:vec3-t instance for the rotation axis

Return Value

The value list with the angle in degrees and the graphene:vec3-t instance with the rotation axis.

Details

Converts a quaternion into an angle and an axis pair.
 

See also

#2024-1-20