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