Package: graphene
Macro graphene:with-box
Lambda Listgraphene:with-box ((var &rest args) &body body) SyntaxArgumentsDetails The graphene:with-box macro allocates a new graphene:box-t
instance, initializes the box with the given values and executes the body
that uses the box.
After execution of the body the allocated memory for the box is released. When no argument is given the components of the box are initialized to zero. The initialization with two points uses the graphene:box-init function. If the first value has the graphene:vec3-t type the graphene:box-init-from-vec3 function is used for initialization with two vectors. The initialization from another box is done with the graphene:box-init-from-box function. Note | See also |
2024-11-12