Changeset 929 for code/branches/network/src/orxonox/objects
- Timestamp:
- Mar 26, 2008, 11:39:55 PM (17 years ago)
- Location:
- code/branches/network/src/orxonox/objects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/objects/Camera.cc
r790 r929 6 6 #include <OgreSceneManager.h> 7 7 #include <OgreSceneNode.h> 8 #include <OgreRoot.h>9 8 #include <OgreRenderWindow.h> 10 9 #include <OgreViewport.h> … … 69 68 70 69 // FIXME: unused var 71 Ogre::Viewport* vp = orxonox::Orxonox::getSingleton()->getOgrePointer()->getR oot()->getAutoCreatedWindow()->addViewport(cam);70 Ogre::Viewport* vp = orxonox::Orxonox::getSingleton()->getOgrePointer()->getRenderWindow()->addViewport(cam); 72 71 73 72 -
code/branches/network/src/orxonox/objects/Fighter.cc
r919 r929 208 208 209 209 node->attachObject(cam); 210 Orxonox::getSingleton()->getOgrePointer()->getR oot()->getAutoCreatedWindow()->addViewport(cam);210 Orxonox::getSingleton()->getOgrePointer()->getRenderWindow()->addViewport(cam); 211 211 } 212 212 } -
code/branches/network/src/orxonox/objects/SpaceShip.cc
r927 r929 286 286 287 287 this->camNode_->attachObject(cam); 288 Orxonox::getSingleton()->getOgrePointer()->getR oot()->getAutoCreatedWindow()->addViewport(cam);288 Orxonox::getSingleton()->getOgrePointer()->getRenderWindow()->addViewport(cam); 289 289 } 290 290
Note: See TracChangeset
for help on using the changeset viewer.