Next: , Previous: Backups and Undo, Up: General Features


3.12 View Matrix

It is sometimes useful to use this to orient the view and export this orientation to other programs. The orientation matrix of the view can be displayed (in the console) using:

(view-matrix)

Also, the internal representation of the view can be returned and set using:

(view-quaternion) to return a 4-element list

(set-view-quaternion i j k l) which sets the view quaternion.

So the usage of these functions would be something like:

(let ((v (view-quaternion)))
   ;; manipulate v here, maybe
   (apply set-view-quaternion v))