Changeset 6158 for code/branches/presentation2/src/orxonox
- Timestamp:
- Nov 26, 2009, 10:04:59 AM (15 years ago)
- Location:
- code/branches/presentation2/src/orxonox/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/graphics/Camera.cc
r6108 r6158 111 111 if (this->bDrag_) 112 112 { 113 dt = dt / this->getTimeFactor(); 113 114 // this stuff here may need some adjustments 114 115 float coeff = std::min(1.0f, 15.0f * dt); -
code/branches/presentation2/src/orxonox/graphics/Camera.h
r6108 r6158 34 34 #include "util/OgreForwardRefs.h" 35 35 #include "tools/interfaces/Tickable.h" 36 #include "tools/interfaces/TimeFactorListener.h" 36 37 #include "worldentities/StaticEntity.h" 37 38 38 39 namespace orxonox 39 40 { 40 class _OrxonoxExport Camera : public StaticEntity, public Tickable 41 class _OrxonoxExport Camera : public StaticEntity, public Tickable, public TimeFactorListener 41 42 { 42 43 friend class CameraManager;
Note: See TracChangeset
for help on using the changeset viewer.