Package: graphene
Macro graphene:with-euler
Lambda Listgraphene:with-euler ((var &rest args) &body body) SyntaxArgumentsDetails The graphene:with-euler macro allocates a new graphene:euler-t instance, initializes the Euler vector with the
given values and executes the body that uses the Euler vector.
After execution of the body the allocated memory for the instance is released. When no argument is given the components of the instance are initialized with zeros. The initialization from another instance is done with the graphene:euler-init-from-euler function. The initialization from other Graphene types is done with the graphene:euler-init-from-matrix, graphene:euler-init-from-quaternion and graphene:euler-init-from-vec3 functions. The graphene:euler-init function initializes an instance with the rotation angles in degrees and the graphene:euler-init-from-radians function initializes an instance with the rotation angles in radians. In addition it is possible to initalize the order of the rotations. Note | See also |
2024-9-9