#include <CGELWorld.h>

Public Member Functions | |
| cGELWorldCollision (cGELWorld *a_gelWorld) | |
| Constructor of cGELWorldCollision. | |
| virtual | ~cGELWorldCollision () |
| Destructor of cGELWorldCollision. | |
| 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, cCollisionRecorder &a_recorder, cCollisionSettings &a_settings) |
| Return the nearest triangle intersected by the given segment, if any. | |
| bool cGELWorldCollision::computeCollision | ( | cVector3d & | a_segmentPointA, | |
| cVector3d & | a_segmentPointB, | |||
| cCollisionRecorder & | a_recorder, | |||
| cCollisionSettings & | a_settings | |||
| ) | [virtual] |
Return the nearest triangle intersected by the given segment, if any.
Extends cGELWorld to support collision detection.
| a_segmentPointA | Start point of segment. | |
| a_segmentPointB | End point of segment. | |
| a_recorder | Stores all collision events | |
| a_settings | Contains collision settings information. |
Reimplemented from cGenericCollision.