Changeset 3443 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 1, 2005, 10:13:16 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/light.cc
r3442 r3443 330 330 { 331 331 PRINT(0)(":: %d :: -- reference %p\n", i, lights[i]); 332 PRINT(0)(" GL-state: "); 333 GLboolean param; 334 glGetBooleanv(lightsV[i], ¶m); 335 if (param) 336 PRINT(0)("ON\n"); 337 else 338 PRINT(0)("OFF\n"); 339 332 340 if (i != lights[i]->lightNumber) 333 341 PRINTF(1)(" Lights are out of sync, this really should not happen,\n %d % should be equal.\n", i, lights[i]->lightNumber); -
orxonox/trunk/src/world.cc
r3442 r3443 178 178 light->setPosition(20.0, 10.0, 20.0); 179 179 light->setDiffuseColor(1,1,1); 180 //light->addLight(1);181 //light->setPosition(20, 10, -20);182 //light->setDiffuseColor(0,0,0);180 light->addLight(1); 181 light->setPosition(20, 10, -20); 182 light->setDiffuseColor(0,0,0); 183 183 light->debug(); 184 184
Note: See TracChangeset
for help on using the changeset viewer.