Changeset 1640 for code/branches/gui/src/orxonox/objects
- Timestamp:
- Jul 21, 2008, 8:39:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/objects/CameraHandler.cc
r1638 r1640 45 45 { 46 46 this->cam_ = GraphicsEngine::getSingleton().getLevelSceneManager()->createCamera("Cam"); 47 GraphicsEngine::getSingleton().get LevelViewport()->setCamera(this->cam_);48 GraphicsEngine::getSingleton().getRenderWindow()->addViewport(this->cam_, 2, 0.4, 0.4, 0.2, 0.2);47 GraphicsEngine::getSingleton().getViewport()->setCamera(this->cam_); 48 //GraphicsEngine::getSingleton().getRenderWindow()->addViewport(this->cam_, 2, 0.4, 0.4, 0.2, 0.2); 49 49 /*this->activeCamera_ = *ObjectList<Camera>::begin(); 50 50 this->activeCamera_->cam_ = this->cam_;*/
Note: See TracChangeset
for help on using the changeset viewer.