#include <CGenericCollision.h>
Inheritance diagram for cGenericCollision:
Public Member Functions | |
cGenericCollision () | |
Constructor of cGenericCollision. | |
virtual | ~cGenericCollision () |
Destructor of cGenericCollision. | |
virtual void | initialize () |
Do any necessary initialization, such as building trees. | |
virtual void | render () |
Provide a visual representation of the method. | |
virtual bool | computeCollision (cVector3d &a_segmentPointA, cVector3d &a_segmentPointB, cGenericObject *&a_colObject, cTriangle *&a_colTriangle, cVector3d &a_colPoint, double &a_colSquareDistance, int a_proxyCall=-1) |
Return the nearest triangle intersected by the given segment, if any. | |
void | setDisplayDepth (unsigned int a_depth) |
Set level of collision tree to display. | |
double | getDisplayDepth () const |
Read level of collision tree being displayed. | |
Public Attributes | |
cMaterial | m_material |
Color properties of the collision object. | |
Protected Attributes | |
int | m_displayDepth |
cGenericCollision::cGenericCollision | ( | ) |
Constructor of cGenericCollision.
Constructor of cGenericCollision.
int cGenericCollision::m_displayDepth [protected] |
Level of collision tree to render... negative values force rendering up to and including this level, positive values render _just_ this level