Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8702 for code


Ignore:
Timestamp:
Jun 11, 2011, 1:47:05 PM (14 years ago)
Author:
landauf
Message:

fixed radian ↔ degree conversion bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/worldentities/MobileEntity.h

    r8589 r8702  
    8989                { this->setAngularVelocity(this->getAngularVelocity().normalisedCopy() * rate.valueRadians()); }
    9090            inline Degree getRotationRate() const
    91                 { return Degree(this->getAngularVelocity().length()); }
     91                { return Radian(this->getAngularVelocity().length()); }
    9292
    9393            inline void setRotationAxis(const Vector3& axis)
Note: See TracChangeset for help on using the changeset viewer.