Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8106 in orxonox.OLD for branches/cr/src/lib/physics


Ignore:
Timestamp:
Jun 1, 2006, 10:27:53 PM (19 years ago)
Author:
patrick
Message:

cr: supporting now shared collision lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/lib/physics/physics_interface.h

    r6616 r8106  
    3939  inline float getTotalMass( void ) const { return mass + massChildren; };
    4040
     41  /** @returns the velocity */
     42  inline const Vector getVelocity() { return this->velocity; }
     43  /** @returns the acceleration */
     44  inline const Vector getAcceleration() { return this->acceleration; }
     45
    4146  virtual void applyForce(const Vector& force);
    4247  virtual void applyField(Field* field);
     
    5156  float          massChildren;          //!< Sum of the masses of the children nodes
    5257
     58  Vector         velocity;              //!< the velocity of the masspoint
     59  Vector         acceleration;          //!< acceleration of the masspoint
     60
    5361  Vector         forceSum;              //!< Total central force for this tick
    5462  Quaternion     momentumSum;           //!< Total momentum in this tick
Note: See TracChangeset for help on using the changeset viewer.