Class VrmlMatrix

java.lang.Object
org.web3d.vrml.scripting.ecmascript.builtin.FieldScriptableObject
org.web3d.vrml.scripting.ecmascript.builtin.VrmlMatrix
All Implemented Interfaces:
org.mozilla.javascript.Scriptable

public class VrmlMatrix extends FieldScriptableObject
ECMAScript VrmlMatrix builtin object.

The implementation of all the functionality in this class is according to the Matrix and Quaternion FAQ, which is currently located at: http://www.cs.ualberta.ca/~andreas/math/matrfaq_latest.html

The spec is sort of a bit wishy-washy about how the flat references of array indices. Internally the matrix is stored with the translations values down the right "column" where the VRML spec has them across the bottom. Not entirely convinced that this is correct. Just makes it easy to check this code against the FAQ code, which uses them stored in the same way.

Version:
$Revision: 1.12 $
Author:
Justin Couch