Changeset 9892 in orxonox.OLD for branches/coll_rect/src/lib/collision_reaction/collision.h
- Timestamp:
- Oct 14, 2006, 1:25:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/coll_rect/src/lib/collision_reaction/collision.h
r9891 r9892 53 53 54 54 55 inline bool match(const WorldEntity& entityA, WorldEntity& entityB) const { return (this->entityA == &entityA && this->entityB == &entityB); } 55 inline bool match(const WorldEntity& entityA, WorldEntity& entityB) const { 56 return ((this->entityA == &entityA && this->entityB == &entityB) || (this->entityA == &entityB && this->entityB == &entityA)); } 56 57 /** @returns true if this Collision has already been dispatched */ 57 58 inline bool isDispatched() { return this->bDispatched; }
Note: See TracChangeset
for help on using the changeset viewer.