Changeset 4667 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Jun 23, 2005, 4:40:05 PM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_system.cc
r4663 r4667 342 342 { 343 343 glPushAttrib(GL_ENABLE_BIT); 344 glDisable(GL_LIGHTING);345 344 346 345 Particle* drawPart = particles; … … 350 349 default: 351 350 case PARTICLE_SPRITE: 351 glDisable(GL_LIGHTING); 352 352 glMatrixMode(GL_MODELVIEW); 353 353 glDepthMask(GL_FALSE); … … 401 401 402 402 case PARTICLE_SPARK: 403 glDisable(GL_LIGHTING); 403 404 glEnable(GL_LINE_SMOOTH); 404 405 glBegin(GL_LINES); … … 433 434 434 435 case PARTICLE_DOT: 436 glDisable(GL_LIGHTING); 435 437 glBegin(GL_POINTS); 436 438 while (likely(drawPart != NULL)) -
orxonox/trunk/src/subprojects/particles/particle_fun.cc
r4666 r4667 23 23 #include "stdlibincl.h" 24 24 #include "graphics_engine.h" 25 #include "light.h" 25 26 26 27 #include <dirent.h> … … 86 87 new PhysicsConnection(system, twirl); 87 88 new PhysicsConnection(system, pointGravity); 89 90 LightManager::getInstance()->addLight(); 91 LightManager::getInstance()->setPosition(10, 10, 10); 92 88 93 } 89 94
Note: See TracChangeset
for help on using the changeset viewer.