Package: graphene

Macro graphene:with-quaternions

Lambda List

graphene:with-quaternions (vars &body body)

Syntax

(graphene:with-quaternions (q1 ... qn) body) => result

Arguments

q1 ... qn -- the newly created graphene:quaternion-t instances
body -- a body that uses the bindings q1 ... qn

Details

The graphene:with-quaternions macro creates new variable bindings and executes the body that use these bindings. The macro performs the bindings sequentially, like the let* macro.

Each quaternion can be initialized with values using the syntax for the graphene:with-quaternion macro. See also the graphene:with-quaternion documentation.
 

See also

2024-1-20