Camera functions availible in the fluxus scratchpad.
void
Resets the camera transform, useful if it becomes trashed, or you get lost somewhere in space. Also turns off camera locking to objects with (lock-camera)
; ruin the camera transform (set-camera-transform (vector 123 41832 28 0.2 128 0.001 123 41832 28 0.2 128 0.001 0.2 100 13 1931)) ; set it back to the starting position/orientation (reset-camera)
void
Overrides and locks the camera transform with your own. To unlock again call reset-camera
; ruin the camera transform (set-camera-transform (mtranslate 0 0 -10))
transform-matrix
Returns the current camera transform. To unlock again call reset-camera
; ruin the camera transform (define tx (get-camera-transform))