Changeset 8099 in orxonox.OLD for branches/cr/src/lib/collision_reaction
- Timestamp:
- Jun 1, 2006, 6:47:16 PM (18 years ago)
- Location:
- branches/cr/src/lib/collision_reaction
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/collision_handle.cc
r8043 r8099 100 100 101 101 /** 102 * register a Collision to the Collision handle. 103 * @param collision 104 * This is used for internal collision registration: sharing the collision objects between Collision Reactions 105 * Therefore dispatching it only once 106 */ 107 void CollisionHandle::registerCollision(Collision* collision) 108 { 109 110 } 111 112 113 /** 102 114 * this is the function to be called on a collision event for this handle 103 115 * @param collision the collision objects containing all collision informations … … 111 123 Collision* c = this->registerCollision(collisionEvent->getEntityA(), collisionEvent->getEntityB()); 112 124 c->registerCollisionEvent(collisionEvent); 125 113 126 } 114 127 -
branches/cr/src/lib/collision_reaction/collision_handle.h
r8043 r8099 31 31 void addTarget(long target); 32 32 Collision* registerCollision(WorldEntity* entityA, WorldEntity* entityB); 33 void registerCollision(Collision* collision); 33 34 void registerCollisionEvent(CollisionEvent* collisionEvent); 34 35
Note: See TracChangeset
for help on using the changeset viewer.