Cyclone | Cyclone: cyclone::CollisionData Struct Reference |
#include <collide_fine.h>
Collaboration diagram for cyclone::CollisionData:
Public Member Functions | |
bool | hasMoreContacts () |
Checks if there are more contacts available in the contact data. | |
void | reset (unsigned maxContacts) |
Resets the data so that it has no used contacts recorded. | |
void | addContacts (unsigned count) |
Notifies the data that the given number of contacts have been added. | |
Public Attributes | |
Contact * | contactArray |
Holds the base of the collision data: the first contact in the array. | |
Contact * | contacts |
Holds the contact array to write into. | |
int | contactsLeft |
Holds the maximum number of contacts the array can take.CollisionDataIntro. | |
unsigned | contactCount |
Holds the number of contacts found so far. | |
real | friction |
Holds the friction value to write into any collisions. | |
real | restitution |
Holds the restitution value to write into any collisions. | |
real | tolerance |
Holds the collision tolerance, even uncolliding objects this close should have collisions generated. |
|
Notifies the data that the given number of contacts have been added.
|
|
Checks if there are more contacts available in the contact data.
|
|
Resets the data so that it has no used contacts recorded.
|
|
Holds the base of the collision data: the first contact in the array. This is used so that the contact pointer (below) can be incremented each time a contact is detected, while this pointer points to the first contact found. |
|
Holds the number of contacts found so far.
|
|
Holds the contact array to write into.
|
|
Holds the maximum number of contacts the array can take.CollisionDataIntro.
|
|
Holds the friction value to write into any collisions.
|
|
Holds the restitution value to write into any collisions.
|
|
Holds the collision tolerance, even uncolliding objects this close should have collisions generated.
|
© 2000-2003 Icosagon. All Rights Reserved.
Distributed under licence.
Cyclone Version 2.0.5 (Documentation generated Fri Nov 10 20:44:21 2006). |