Go to the first, previous, next, last section, table of contents.

### Transform Messages

Go to the first, previous, next, last section, table of contents.

Instances of class MATRIX44 contain as state a 4x4 matrix of doubles, plus several high-level fields which may be used to compute an appropriate value for the 4x4 matrix: A location in space, a target location to look at, an up location to define the zenith, a diameter of visibility around the target, and a field of view in radians.

The latter two are really most useful for cameras, but it makes the system simpler if we include them in all transforms. This lets us plug any transform into any camera, for example, and also to position lights and things using the commands intended for positioning cameras, if we wish.

The following menu entries start with ';' rather than ':' only to humor texinfo...

- ;NEW tfm
- ;AREF tfm
- ;SETF tfm
- ;COPY tfm
- ;COPY-CONTENTS tfm
- ;COPY-SPACEBALL-MATRIX tfm
- ;MOVE tfm
- ;SCALE tfm
- ;SHEAR tfm
- ;MULT tfm
- ;ROTATE tfm
- ;SET-TO-IDENTITY tfm
- ;SET-TO-PRODUCT tfm
- ;GET ;SET etc tfm
- ;TRANSFORM-POINT and ;TRANSFORM-NORMAL tfm
- ;INVERT tfm
- ;TRANSPOSE tfm
- ;FRAME-THINGS tfm
- ;TURTLE-* tfm
- ;DECOMPOSE tfm
- XG.3D-COMBINE-ROTATIONS fn
- XG.3D-MULTIPLY-QUATERNIONS fn
- XG.3D-QUATERNION-TO-AXIS-ANGLE fn
- XG.3D-QUATERNION-FROM-AXIS-ANGLE fn

Go to the first, previous, next, last section, table of contents.