Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2975


Ignore:
Timestamp:
May 13, 2009, 2:25:04 PM (15 years ago)
Author:
rgrieder
Message:
  • Fixed stupid bug in MobileEntity.h
  • Removed a compiler warning
Location:
code/branches/netp2/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp2/src/network/Host.h

    r2965 r2975  
    3838  const int CLIENTID_SERVER = 0;
    3939  const unsigned int NETWORK_FREQUENCY = 25;
    40   const float NETWORK_PERIOD = 1./NETWORK_FREQUENCY;
     40  const float NETWORK_PERIOD = 1.0f/NETWORK_FREQUENCY;
    4141
    4242/**
  • code/branches/netp2/src/orxonox/objects/worldentities/MobileEntity.h

    r2826 r2975  
    6161                { this->setAngularVelocity(Vector3(x, y, z)); }
    6262            inline const Vector3& getAngularVelocity() const
    63                 { return this->linearAcceleration_; }
     63                { return this->angularVelocity_; }
    6464
    6565            void setAcceleration(const Vector3& acceleration);
Note: See TracChangeset for help on using the changeset viewer.