Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8049 in orxonox.OLD for branches/cr/src/world_entities


Ignore:
Timestamp:
May 31, 2006, 11:12:06 PM (18 years ago)
Author:
patrick
Message:

cr: physics interface used as real interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/world_entities/world_entity.h

    r8047 r8049  
    117117  //FIXME: the PhysicsInterface and the whole PEngine should probably be reviewed. Here its just used to store the vars
    118118  /* --- Physics Interface --- */
    119   inline PhysicsInterface getPhysicsEngine() const { return this->physicsInterface; }
     119  inline PhysicsInterface getPhysicsInterface() const { return this->physicsInterface; }
     120  inline float getMass() const { return this->physicsInterface.getMass(); }
     121  inline float getTotalMass() const { return this->physicsInterface.getTotalMass(); }
    120122
    121123
Note: See TracChangeset for help on using the changeset viewer.