#include <CCollisionSpheresGeometry.h>
Public Member Functions | |
cCollisionSpheresGenericShape () | |
Constructor of cCollisionSpheresGenericShape. | |
virtual | ~cCollisionSpheresGenericShape () |
Destructor of cCollisionSpheresGenericShape. | |
virtual const cVector3d & | getCenter () const =0 |
Return center. | |
virtual double | getRadius () const =0 |
Return radius. | |
virtual bool | computeCollision (cCollisionSpheresGenericShape *a_other, cCollisionRecorder &a_recorder, cCollisionSettings &a_settings)=0 |
Determine whether this primitive intersects the given primitive. | |
virtual cCollisionSpheresLeaf * | getSphere () |
Return pointer to bounding sphere of this primitive shape. | |
virtual void | setSphere (cCollisionSpheresLeaf *a_sphere) |
Set pointer for the bounding sphere of this primitive shape. | |
bool | operator< (cCollisionSpheresGenericShape *a_other) |
Overloaded less than operator (for sorting). | |
Static Public Attributes | |
static int | m_split = 0 |
Axis on which to sort. |