chickadee » gl-math » make-quaternion

make-quaternion X Y Z W #!optional NON-GC?procedure
quaternion-x POINTprocedure
quaternion-y POINTprocedure
quaternion-z POINTprocedure
quaternion-w POINTprocedure
quaternion-x-set! POINTprocedure
quaternion-y-set! POINTprocedure
quaternion-z-set! POINTprocedure
quaternion-w-set! POINTprocedure

Quaternion constructor, getters, and setters. If NON-GC is #t, the quaternion is created in a non-garbage-collected area (the memory will still be freed when there are no more references to the quaternion).