Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 26, 2009, 10:04:59 AM (15 years ago)
Author:
rgrieder
Message:

Fixed mouse look in slow motion.

Location:
code/branches/presentation2/src/orxonox/graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/graphics/Camera.cc

    r6108 r6158  
    111111        if (this->bDrag_)
    112112        {
     113            dt = dt / this->getTimeFactor();
    113114            // this stuff here may need some adjustments
    114115            float coeff = std::min(1.0f, 15.0f * dt);
  • code/branches/presentation2/src/orxonox/graphics/Camera.h

    r6108 r6158  
    3434#include "util/OgreForwardRefs.h"
    3535#include "tools/interfaces/Tickable.h"
     36#include "tools/interfaces/TimeFactorListener.h"
    3637#include "worldentities/StaticEntity.h"
    3738
    3839namespace orxonox
    3940{
    40     class _OrxonoxExport Camera : public StaticEntity, public Tickable
     41    class _OrxonoxExport Camera : public StaticEntity, public Tickable, public TimeFactorListener
    4142    {
    4243        friend class CameraManager;
Note: See TracChangeset for help on using the changeset viewer.