Package: graphene
Macro graphene:with-vec3
Lambda Listgraphene:with-vec3 ((var &rest args) &body body) SyntaxArgumentsDetails The graphene:with-vec3 macro allocates a new graphene:vec3-t
instance, initializes the vector with the given values and executes the body
that uses the vector.
After execution of the body the allocated memory for the vector is released. When no argument is given the components of the vector are initialized to zero. The initialization from another vector is done with the graphene:vec3-init-from-vec3 function. The initialization with three values x, y and z uses the graphene:vec3-init function. Note | See also |
2024-12-26