<-Back

Macro: Roll

ROLL [macro] transformation matrix

In the context of a GDL object definition (i.e. in a define-object), returns a transformation matrix based on rotation about axis by some angle. Axis is a keyword symbol, one of:

  • :lateral
  • :longitudinal
  • :vertical
Angle is specified in radians. Any number of axis-angle pairs can be specified.

arguments:
axis Keyword Symbol
angle Number
rest arguments:
other-axes-and-angles Plist made from axis keyword symbols and numbers

<-Back