Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3763 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Apr 8, 2005, 7:48:05 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: skySphere now added to WorldEntity-List

File:
1 edited

Legend:

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

    r3752 r3763  
    329329            this->skySphere->setName("SkySphere");
    330330            this->localCamera->addChild(this->skySphere);
    331             this->skySphere->setMode(PNODE_MOVEMENT);
     331            this->spawn(this->skySphere);
    332332
    333333            /*monitor progress*/
     
    392392            skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
    393393            this->localPlayer->addChild(this->skySphere);
    394 
     394            this->spawn(this->skySphere);
    395395            Vector* es = new Vector (20, 0, 0);
    396396            Quaternion* qs = new Quaternion ();
     
    437437            this->skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
    438438            this->skySphere->setName("SkySphere");
     439            this->spawn(this->skySphere);
    439440            this->localCamera->addChild(this->skySphere);
    440441            this->skySphere->setMode(PNODE_MOVEMENT);
    441 
    442442            /*monitor progress*/
    443443            this->glmis->step();
     
    459459            thirdNode->setRelCoor(new Vector(2.0, 0.0, 0.0));
    460460            this->spawn(thirdNode);
    461 
    462461
    463462           
     
    740739 
    741740  glCallList (objectList);
    742   //! \todo skysphere is a WorldEntity and should be inside of the world-entity-list.
    743   skySphere->draw();
    744741
    745742  testFont->printText(0, 0, 1, "orxonox_" PACKAGE_VERSION);
Note: See TracChangeset for help on using the changeset viewer.