Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3409 in orxonox.OLD for orxonox/branches/dave/src/world.cc


Ignore:
Timestamp:
Feb 19, 2005, 4:53:50 PM (20 years ago)
Author:
dave
Message:

branches/dave/src: Ok, fehler behoben, jetzt kann man noch eigene Himmel einfuegen, je nach belieben:) enjoy./orxonox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/dave/src/world.cc

    r3408 r3409  
    521521  trackManager->debug(2);
    522522  delete trackManager;
    523  
    524 
    525  
    526   glEnable(GL_TEXTURE_2D);
    527   sky->select();
    528  
    529  
     523   
    530524  glEndList(); 
    531525}
     
    596590 
    597591  glCallList (objectList);
    598   skybox->draw(localPlayer);
     592
     593
     594  //After calling the list, draw the skysphere
     595 
     596  glEnable(GL_TEXTURE_2D);
     597  sky->select();
     598  skybox->draw();
    599599 
    600600}
     
    678678      entity = entities->nextElement();
    679679    }
    680  
    681  
     680  printf("wird jetzt ausgefuehrt!\n");
     681  skybox->updatePosition(localPlayer->absCoordinate.x,localPlayer->absCoordinate.y,localPlayer->absCoordinate.z);
    682682 
    683683  //for( int i = 0; i < tracklen; i++) track[i].tick (seconds);
Note: See TracChangeset for help on using the changeset viewer.