#include <CGenericCollision.h>

Public Member Functions | |
| cGenericCollision () | |
| Constructor of cGenericCollision. | |
| virtual | ~cGenericCollision () |
| Destructor of cGenericCollision. | |
| virtual void | initialize (double a_radius=0) |
| 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, cCollisionRecorder &a_recorder, cCollisionSettings &a_settings) |
| Return the triangles intersected by the given segment, if any. | |
| void | setDisplayDepth (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 |
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.