a class that is used to detect collision between a box and an geometrical object described by an OpenGL display List
![]() | constructor
| ||
![]() | destructor |
![]() | collisionDisplayList the display list that is called to detect collision |
![]() | bufferSize the maximum buffer size |
![]() | selectionBuffer [bufferSize] the selection buffer |
![]() | collisionList the list of tags corresponding to each collision |
a class that is used to detect collision between a box and an geometrical object described by an OpenGL display List. This display list must include tags through pushName()/popName() commands
static const unsigned int bufferSize
GLuint selectionBuffer[bufferSize]
std::list
constructor
destructor
bool detectCollisionWithBox(Vec3
p2 - the second point of box's axis
r1 - the square width
p3 - the up direction (optional = 1,0,0)
r2 - the square lenght in p3 direction (optional = r1)
bool detectCollisionWithTriangle(Vec3
dest - the middle of triangle's base
up - the width direction
base - the triangle's base length
width - the triangle's width
void callCollisionDisplayList(void)
std::list
std::list
virtual void updateCollisionList()
void destroyCollisionDisplayList()
bool getUseCollisionDisplayList()
void setUseCollisionDisplayList(bool ucdl)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de