Package: graphene
Macro graphene:with-vec2
Lambda Listgraphene:with-vec2 ((var &rest args) &body body) SyntaxArgumentsDetails The graphene:with-vec2 macro allocates a new graphene:vec2-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:vec2-init-from-vec2 function. The initialization with two values x and y uses the graphene:vec2-init function. Note | See also |
2024-12-26