Changeset 4552 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Jun 8, 2005, 11:54:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4551 r4552 20 20 #include "fields.h" 21 21 #include "stdlibincl.h" 22 #include "light.h" 22 23 23 24 #include "cd_engine.h" … … 26 27 { 27 28 CDEngine::getInstance(); 29 CDEngine::getInstance()->debug(); 28 30 31 32 33 LightManager* lightMan = LightManager::getInstance(); 34 lightMan->setAmbientColor(.1,.1,.1); 35 lightMan->addLight(); 36 lightMan->addLight(); 37 lightMan->setPosition(10, 20, 100); 29 38 } 30 39 … … 52 61 { 53 62 CDEngine::getInstance()->drawBV(1,1); 63 64 LightManager::getInstance()->draw(); 54 65 } 55 66
Note: See TracChangeset
for help on using the changeset viewer.