Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1617 for code


Ignore:
Timestamp:
Jun 22, 2008, 12:44:20 AM (16 years ago)
Author:
rgrieder
Message:
  • some more fixes..
Location:
code/branches/hud/src/orxonox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/CMakeLists.txt

    r1615 r1617  
    2727  tools/Mesh.cc
    2828  tools/ParticleInterface.cc
     29  tools/TextureGenerator.cc
    2930  tools/Timer.cc
    3031  tools/WindowEventListener.cc
  • code/branches/hud/src/orxonox/OrxonoxStableHeaders.h

    r1616 r1617  
    3737#include "util/OrxonoxPlatform.h"
    3838
    39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC && 0
     39#if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
    4040
    4141// including std headers here is useless since they're already precompiled
  • code/branches/hud/src/orxonox/RadarViewable.cc

    r1616 r1617  
    4040    */
    4141    RadarViewable::RadarViewable()
    42         : radarObjectCamouflage_(0.0f)
     42        : radarObject_(0)
     43        , radarObjectCamouflage_(0.0f)
    4344        , radarObjectType_(Dot)
    44         , radarObject_(0)
    4545        , radarObjectDescription_("staticObject")
    4646    {
  • code/branches/hud/src/orxonox/overlays/OrxonoxOverlay.cc

    r1616 r1617  
    207207    void OrxonoxOverlay::positionChanged()
    208208    {
    209         float angle = abs(this->angle_.valueRadians());
     209        float angle = this->angle_.valueRadians();
     210        if (angle < 0.0)
     211            angle = -angle;
    210212        angle -= Ogre::Math::PI * (int)(angle / (Ogre::Math::PI));
    211213        if (angle > Ogre::Math::PI * 0.5)
Note: See TracChangeset for help on using the changeset viewer.