Class Index | File Index

Classes


Class PlaneData

PlaneData stores information about a contact between 2 objects
Defined in: planedata.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
PlaneData(pos, the)
Field Summary
Field Attributes Field Name and Description
 
the dot product of position and normal
 
the normal direction of the plane expressed as a 3D vector
 
the position of the plane expressed as a 3D vector
Method Summary
Method Attributes Method Name and Description
 
Class Detail
PlaneData(pos, the)
Parameters:
{array} pos
the position of the plane expressed as a 3D vector
{nor} the
normal direction of the plane expressed as a 3D vector
Requires:
Vector3DUtil
Field Detail
{number} distance
the dot product of position and normal

{array} normal
the normal direction of the plane expressed as a 3D vector

{array} position
the position of the plane expressed as a 3D vector
Method Detail
{number} pointPlaneDistance(pt)
Parameters:
{array} pt
a 3D vector

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 25 2011 08:49:11 GMT+0100 (CET)