Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2008, 11:24:44 PM (16 years ago)
Author:
rgrieder
Message:
  • set the svn:eol-style property to all files so, that where ever you check out, you'll get the right line endings (had to change every file with mixed endings to windows in order to set the property)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/orxonox/GraphicsEngine.cc

    • Property svn:eol-style set to native
    r1493 r1494  
    4444#include "core/ConfigValueIncludes.h"
    4545#include "core/Debug.h"
    46 #include "core/CommandExecutor.h"
    47 #include "core/TclBind.h"
     46#include "core/CommandExecutor.h"#include "core/TclBind.h"
    4847#include "console/InGameConsole.h"
    4948
     
    8786    SetConfigValue(ogreLogLevelTrivial_ , 5).description("Corresponding orxonox debug level for ogre Trivial");
    8887    SetConfigValue(ogreLogLevelNormal_  , 4).description("Corresponding orxonox debug level for ogre Normal");
    89     SetConfigValue(ogreLogLevelCritical_, 2).description("Corresponding orxonox debug level for ogre Critical");
    90 
    91     TclBind::getInstance().setDataPath(this->dataPath_);
     88    SetConfigValue(ogreLogLevelCritical_, 2).description("Corresponding orxonox debug level for ogre Critical");    TclBind::getInstance().setDataPath(this->dataPath_);
    9289  }
    9390
     
    312309      return 0;
    313310  }
    314 
    315   /**
    316     @brief Returns the window aspect ratio height/width.
    317     @return The ratio
    318   */
    319   float GraphicsEngine::getWindowAspectRatio() const
    320   {
    321     if (this->renderWindow_)
    322         return (float)this->renderWindow_->getHeight() / (float)this->renderWindow_->getWidth();
    323     else
    324         return 1.0f;
    325   }
    326 
     311  /**    @brief Returns the window aspect ratio height/width.    @return The ratio  */  float GraphicsEngine::getWindowAspectRatio() const  {    if (this->renderWindow_)        return (float)this->renderWindow_->getHeight() / (float)this->renderWindow_->getWidth();    else        return 1.0f;  }
    327312  /**
    328313    @brief Method called by the LogListener interface from Ogre.
     
    371356  *       as rw. But we have to be careful when using multiple render windows!
    372357  */
    373   void GraphicsEngine::windowResized(Ogre::RenderWindow *rw)
    374   {
    375     // change the mouse clipping size for absolute mouse movements
     358  void GraphicsEngine::windowResized(Ogre::RenderWindow *rw)  {    // change the mouse clipping size for absolute mouse movements
    376359    int w = rw->getWidth();
    377360    int h = rw->getHeight();
Note: See TracChangeset for help on using the changeset viewer.