- Timestamp:
- Jun 1, 2006, 6:47:16 PM (19 years ago)
- Location:
- branches/cr/src
- Files:
-
- 3 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 -
branches/cr/src/world_entities/world_entity.h
r8049 r8099 84 84 inline bool isReactive() const { return this->bReactive; } 85 85 86 const CollisionHandle* getCollisionHandle(CREngine::CRType type) const { return this->collisionHandles[type]; } 87 86 88 87 89 /* @returns the Count of Faces on this WorldEntity */
Note: See TracChangeset
for help on using the changeset viewer.