Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3419 in orxonox.OLD for orxonox/trunk/src/world.cc


Ignore:
Timestamp:
Feb 22, 2005, 6:26:03 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: copied dave's SkySphere into the Trunk
done it with svn copy, and implemented the Class into the world.cc
it works perfectly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world.cc

    r3370 r3419  
    2828#include "helper_parent.h"
    2929#include "glmenu_imagescreen.h"
     30#include "skysphere.h"
    3031
    3132using namespace std;
     
    292293            this->localPlayer->addChild (this->localCamera);
    293294
     295            // Create SkySphere
     296            skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
     297
    294298            /*monitor progress*/
    295299            this->glmis->step();
     
    631635  // draw debug coord system
    632636  glCallList (objectList);
     637
     638  //! \todo skysphere is a WorldEntity and should be inside of the world-entity-list.
     639  skySphere->draw();
    633640
    634641}
     
    712719    }
    713720
     721  skySphere->updatePosition(localCamera->absCoordinate);
    714722  //for( int i = 0; i < tracklen; i++) track[i].tick (seconds);
    715723}
Note: See TracChangeset for help on using the changeset viewer.