Package: graphene

Function graphene:quaternion-to-angles

Lambda List

graphene:quaternion-to-angles (quaternion)

Syntax

(graphene:quaternion-to-angles quaternion) => xdeg, ydeg, zdeg

Arguments

quaternion -- a graphene:quaternion-t instance

Return Value

The value list of floats with the rotation angles, in degrees.

Details

Converts a quaternion to its corresponding rotations on the Euler angles on each axis.
 

See also

#2024-1-20