Changeset 4377 in orxonox.OLD for orxonox/trunk/src/lib/physics/physics_interface.h
- Timestamp:
- May 29, 2005, 1:24:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/physics/physics_interface.h
r4376 r4377 8 8 9 9 #include "vector.h" 10 #include "base_object.h" 11 12 // Forward Declaration 13 class Field; 10 14 11 15 //! A Physics interface … … 13 17 here can be some longer description of this class 14 18 */ 15 class PhysicsInterface { 19 class PhysicsInterface : public BaseObject 20 { 16 21 17 22 public: … … 25 30 inline float getTotalMass( void ) const { return mass + massChildren; }; 26 31 27 virtual void applyF orce( Vector force ); //!< Add a central force on this rigid body28 virtual void tickPhys( float dt ); //!< Update kinematics, reset force sum32 virtual void applyField(Field* field, float dt); 33 virtual void tickPhys( float dt ); 29 34 30 35 protected:
Note: See TracChangeset
for help on using the changeset viewer.