Changeset 9982 in orxonox.OLD for branches/coll_rect/src/lib/collision_reaction
- Timestamp:
- Dec 2, 2006, 3:37:31 PM (18 years ago)
- Location:
- branches/coll_rect/src/lib/collision_reaction
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/coll_rect/src/lib/collision_reaction/collision_reaction.h
r9889 r9982 26 26 virtual void reactToCollision(Collision* collision) = 0; 27 27 28 virtual void update(WorldEntity* owner) {}29 30 28 /** use this to do some collision offline calculations, only called for bContinuousPoll == true */ 31 29 inline bool isContinuousPoll() const { return this->bContinuousPoll; } -
branches/coll_rect/src/lib/collision_reaction/cr_object_damage.h
r9889 r9982 26 26 virtual void reactToCollision(Collision* collision); 27 27 28 private:29 30 28 }; 31 29 } -
branches/coll_rect/src/lib/collision_reaction/cr_physics_full_walk.cc
r9895 r9982 209 209 } 210 210 //PRINTF(0)("collision distances: x: %f, y: %f, z: %f\n", front, height, side); 211 212 213 214 215 216 217 218 211 } 219 212 … … 221 214 222 215 223 /**224 * use this to do some collision offline calculations, only called for bContinuousPoll == true225 */226 void CRPhysicsFullWalk::update(WorldEntity* owner)227 {}228 216 } -
branches/coll_rect/src/lib/collision_reaction/cr_physics_full_walk.h
r9889 r9982 23 23 24 24 virtual void reactToCollision(Collision* collision); 25 26 virtual void update(WorldEntity* entity);27 28 29 private:30 float downspeed;31 25 }; 32 26 } -
branches/coll_rect/src/lib/collision_reaction/cr_physics_ground_walk.cc
r9895 r9982 127 127 128 128 129 130 /**131 * use this to do some collision offline calculations, only called for bContinuousPoll == true132 */133 void CRPhysicsGroundWalk::update(WorldEntity* owner)134 {}135 136 129 } -
branches/coll_rect/src/lib/collision_reaction/cr_physics_ground_walk.h
r9889 r9982 24 24 virtual void reactToCollision(Collision* collision); 25 25 26 virtual void update(WorldEntity* entity);27 28 29 private:30 float downspeed;31 26 }; 32 27
Note: See TracChangeset
for help on using the changeset viewer.