Changeset 1653 for code/branches/gui/src/orxonox/objects/Ambient.cc
- Timestamp:
- Aug 5, 2008, 9:50:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/objects/Ambient.cc
r1638 r1653 65 65 66 66 bool Ambient::create(){ 67 GraphicsEngine::get Singleton().getLevelSceneManager()->setAmbientLight(ambientLight_);67 GraphicsEngine::getInstance().getLevelSceneManager()->setAmbientLight(ambientLight_); 68 68 return Synchronisable::create(); 69 69 } … … 76 76 void Ambient::setAmbientLight(const ColourValue& colour) 77 77 { 78 GraphicsEngine::get Singleton().getLevelSceneManager()->setAmbientLight(colour);78 GraphicsEngine::getInstance().getLevelSceneManager()->setAmbientLight(colour); 79 79 ambientLight_=colour; 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.