Changeset 9993 in orxonox.OLD for branches/coll_rect/src/lib
- Timestamp:
- Dec 3, 2006, 5:57:59 PM (18 years ago)
- Location:
- branches/coll_rect/src/lib/collision_reaction
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/coll_rect/src/lib/collision_reaction/collision_tube.h
r9988 r9993 54 54 /* Constructor/Deconstructor/Singleton Interface */ 55 55 public: 56 inline static CollisionTube* getInstance() { if( CollisionTube::instance != NULL) CollisionTube::instance = new CollisionTube(); return CollisionTube::instance; }56 inline static CollisionTube* getInstance() { if( CollisionTube::instance == NULL) CollisionTube::instance = new CollisionTube(); return CollisionTube::instance; } 57 57 virtual ~CollisionTube(); 58 58 -
branches/coll_rect/src/lib/collision_reaction/cr_engine.cc
r9988 r9993 151 151 for( int i = CREngine::CR_PHYSICS_MOMENTUM; i < CREngine::CR_NUMBER; i++) 152 152 { 153 if( _reactionList[i] == NULL) 154 continue; 155 153 156 // check if entity A or B is subscibed for this event 154 157 if( (*ci)->getEntityA()->isReactive(*(*ci)->getEntityB(), (CREngine::ReactionType)i) ||
Note: See TracChangeset
for help on using the changeset viewer.