Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2010, 11:34:20 AM (14 years ago)
Author:
rgrieder
Message:

Removed a ton of msvc warnings revealed with OGRE v1.7 (they removed the warning suppressors in OgrePrerequisites.h).
All of them are conversions from one type to another that might be lossy (mostly double to float, please always use "3.7f" instead of "3.7" as constants when using floats).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc

    r6417 r6502  
    226226            if (angle > 89.0f && angle < 91.0f)
    227227            {
    228                 tempAspect = 1.0 / this->windowAspectRatio_;
     228                tempAspect = 1.0f / this->windowAspectRatio_;
    229229                rotState_ = Vertical;
    230230            }
Note: See TracChangeset for help on using the changeset viewer.