Class Index | File Index

Classes


Class JSC3D.Math3D

Math3D This class provides some utility methods for 3D mathematics.
Defined in: jsc3d.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
JSC3D.Math3D.normalizeVectors(src, dest)
Normalize vectors.
<static>  
JSC3D.Math3D.transformVectors(mat, vecs, xfvecs)
Transform vectors using the given matrix.
<static>  
JSC3D.Math3D.transformVectorZs(mat, vecs, xfveczs)
Transform vectors' z components using the given matrix.
Class Detail
JSC3D.Math3D()
Method Detail
<static> JSC3D.Math3D.normalizeVectors(src, dest)
Normalize vectors.
Parameters:
{Array} src
a batch of vectors to be normalized.
{Array} dest
where to output the normalized results.

<static> JSC3D.Math3D.transformVectors(mat, vecs, xfvecs)
Transform vectors using the given matrix.
Parameters:
{JSC3D.Matrix3x4} mat
the transformation matrix.
{Array} vecs
a batch of vectors to be transform.
{Array} xfvecs
where to output the transformed vetors.

<static> JSC3D.Math3D.transformVectorZs(mat, vecs, xfveczs)
Transform vectors' z components using the given matrix.
Parameters:
{JSC3D.Matrix3x4} mat
the transformation matrix.
{Array} vecs
a batch of vectors to be transform.
{Array} xfveczs
where to output the transformed z components of the input vectors.

Documentation generated by JsDoc Toolkit 2.1.0 on Thu Nov 28 2013 14:35:14 GMT+0800 (CST)