Changeset 4741 in orxonox.OLD for orxonox/trunk/src/subprojects
- Timestamp:
- Jun 30, 2005, 4:19:28 PM (19 years ago)
- Location:
- orxonox/trunk/src/subprojects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4721 r4741 94 94 LightManager* lightMan = LightManager::getInstance(); 95 95 lightMan->setAmbientColor(.1,.1,.1); 96 lightMan->addLight(); 97 lightMan->setPosition(-5.0, 50.0, -40.0); 98 lightMan->addLight(); 99 lightMan->setPosition(100, 80, 60); 96 (new Light())->setAbsCoor(-5.0, 50.0, -40.0); 97 (new Light())->setAbsCoor(100, 80, 60); 100 98 101 99 -
orxonox/trunk/src/subprojects/importer/importer.cc
r4739 r4741 50 50 LightManager* lightMan = LightManager::getInstance(); 51 51 lightMan->setAmbientColor(.1,.1,.1); 52 new Light(); 53 54 lightMan->getLight()->setAbsCoor(5.0, 10.0, 40.0); 55 new Light(); 56 lightMan->getLight()->setAbsCoor(-10, -20, -100); 52 (new Light())->setAbsCoor(5.0, 10.0, 40.0); 53 (new Light())->setAbsCoor(-10, -20, -100); 57 54 } 58 55 -
orxonox/trunk/src/subprojects/particles/particle_fun.cc
r4740 r4741 89 89 new PhysicsConnection(system, pointGravity); 90 90 91 new Light; 92 LightManager::getInstance()->getLight()->setAbsCoor(10, 10, 10); 91 (new Light)->setAbsCoor(10, 10, 10); 93 92 94 93 }
Note: See TracChangeset
for help on using the changeset viewer.