Changeset 3408 in orxonox.OLD for orxonox/branches/dave/src/world.cc
- Timestamp:
- Feb 18, 2005, 4:56:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/dave/src/world.cc
r3407 r3408 290 290 orx->getLocalInput()->bind (myPlayer); 291 291 292 292 293 // create skybox 293 294 this->skybox = new Skybox();294 this->skybox =new Skybox(); 295 295 296 296 297 // bind camera … … 394 395 395 396 396 Material*sky = new Material("Sky");397 sky = new Material("Sky"); 397 398 sky->setDiffuseMap("../data/pictures/sky-replace.jpg"); 398 sky->setIllum( 2);399 sky->setIllum(3); 399 400 400 401 … … 525 526 glEnable(GL_TEXTURE_2D); 526 527 sky->select(); 527 skybox->draw();528 528 529 529 530 glEndList(); … … 593 594 // draw debug coord system 594 595 //glLoadIdentity(); 596 595 597 glCallList (objectList); 596 598 skybox->draw(localPlayer); 599 597 600 } 598 601 … … 607 610 void World::update () 608 611 { 612 609 613 /* 610 614 //List<WorldEntity> *l; … … 674 678 entity = entities->nextElement(); 675 679 } 676 680 681 682 677 683 //for( int i = 0; i < tracklen; i++) track[i].tick (seconds); 678 684 }
Note: See TracChangeset
for help on using the changeset viewer.