Changeset 7841 in orxonox.OLD for trunk/src/lib/collision_reaction
- Timestamp:
- May 24, 2006, 11:07:38 PM (19 years ago)
- Location:
- trunk/src/lib/collision_reaction
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_reaction/cr_engine.cc
r7819 r7841 43 43 CREngine::singletonRef = NULL; 44 44 } 45 46 47 48 CollisionHandle* CREngine::subscribeReaction(WorldEntity* worldEntity, CRType type, int nrOfTargets, ...) 49 { 50 #if 0 51 va_list itemlist; 52 va_start (itemlist, type); 53 for (int i = 0; i < faceElemCount; i++) 54 this->targetList.push_back(va_arg(itemlist, int)); 55 va_end(itemlist); 56 #endif 57 } 58 59 60 -
trunk/src/lib/collision_reaction/cr_engine.h
r7839 r7841 36 36 inline static CREngine* getInstance(void) { if (!singletonRef) singletonRef = new CREngine(); return singletonRef; }; 37 37 38 39 CollisionHandle* subscribeReaction(WorldEntity* worldEntity, C lassId targets, CRType type);38 #if 0 39 CollisionHandle* subscribeReaction(WorldEntity* worldEntity, CRType type, int nrOfTargets, ...); 40 40 41 41 bool unsubscribeReaction(WorldEntity* worldEntity); 42 42 bool unsubscribeReaction(CollisionHandle* collisionHandle); 43 43 44 45 void handleCollisions(); 44 46 45 47 /** @returns an instance to a collision object. instead of creating new object this ones can be resycled */ … … 55 57 std::vector<CollisionHandle*> collisionHandles; //!< list with the collision handles 56 58 std::vector<Collision*> cachedCollisions; //!< a list of unused, cached collision events 59 #endif 57 60 }; 58 61
Note: See TracChangeset
for help on using the changeset viewer.