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