Changeset 1586 for code/branches/core3/src/orxonox/objects/Ambient.cc
- Timestamp:
- Jun 10, 2008, 3:35:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/orxonox/objects/Ambient.cc
r1505 r1586 39 39 #include "util/Convert.h" 40 40 #include "util/Math.h" 41 #include " core/Debug.h"41 #include "util/Debug.h" 42 42 #include "core/CoreIncludes.h" 43 #include "GraphicsEngine.h"44 43 #include "core/XMLPort.h" 45 44 #include "core/ConsoleCommand.h" 45 #include "GraphicsEngine.h" 46 46 47 47 namespace orxonox … … 68 68 return Synchronisable::create(); 69 69 } 70 70 71 71 void Ambient::registerAllVariables(){ 72 72 registerVar(&ambientLight_, sizeof(ColourValue), network::DATA); 73 73 74 74 } 75 75 76 76 void Ambient::loadParams(TiXmlElement* xmlElem) 77 77 { … … 94 94 { 95 95 GraphicsEngine::getSingleton().getSceneManager()->setAmbientLight(colour); 96 ambientLight_=colour; 96 ambientLight_=colour; 97 97 } 98 98
Note: See TracChangeset
for help on using the changeset viewer.