r3Matrix

Method:

r3Matrix - constructor

Syntax:

v = new r3Matrix()

Parameters:

a0, ... d3 - sixteen floating point numbers

Returns:

m - new matrix object

Description:

Creates a new matrix object. If you don't pass any parameters to the constructor, an indentity matrix is created. If the number of parameters is four, then the constructor assumes that the parameters define a coordinate system's origin, horizontal, vertical and normal axes.

Example:

// identity matrix;