Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 11, 2005, 6:22:15 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: changed Skysphere to WorldEntity

File:
1 edited

Legend:

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

    r3475 r3502  
    7272  this->localCamera->destroy();
    7373  this->nullParent->destroy(); 
    74   delete this->skySphere;
     74  //delete this->skySphere;
    7575
    7676  //delete this->trackManager;
     
    225225            // Create SkySphere
    226226            skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
     227            this->localPlayer->addChild(this->skySphere);
    227228
    228229            /*monitor progress*/
     
    277278            // Create SkySphere
    278279            skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
     280            this->localPlayer->addChild(this->skySphere);
    279281
    280282            break;
     
    825827          entity = entities->nextElement();
    826828        }
    827       skySphere->updatePosition(localCamera->absCoordinate);
     829      //skySphere->updatePosition(localCamera->absCoordinate);
    828830     
    829831      /* update tick the rest */
Note: See TracChangeset for help on using the changeset viewer.