Changeset 3565 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 15, 2005, 7:27:44 PM (20 years ago)
- Location:
- orxonox/trunk/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3564 r3565 226 226 this->skySphere->setName("SkySphere"); 227 227 this->localCamera->addChild(this->skySphere); 228 this->skySphere->setMode( MOVEMENT);228 this->skySphere->setMode(PNODE_MOVEMENT); 229 229 230 230 /*monitor progress*/ … … 254 254 //localCamera->setParent(TrackNode::getInstance()); 255 255 tn->addChild (this->localCamera); 256 myPlayer->setMode(PNODE_ROTATE_AND_MOVE); 256 257 //Vector* cameraOffset = new Vector (0, 5, -10); 257 258 Vector* cameraOffset = new Vector (-10, 5, 0); … … 305 306 glEndList(); 306 307 307 terrain = new Terrain(TERRAIN_ BENSCH);308 terrain = new Terrain(TERRAIN_DAVE); 308 309 this->spawn(terrain); 309 310 // LIGHT initialisation … … 584 585 this->display (); 585 586 586 for( int i = 0; i < 5000000; i++) {}587 // for( int i = 0; i < 5000000; i++) {} 587 588 /* \todo this is to slow down the program for openGl Software emulator computers, reimplement*/ 588 589 } … … 736 737 void World::spawn(WorldEntity* entity, PNode* parentNode, 737 738 Vector* relCoor, Quaternion* relDir, 738 parentingMode mode)739 int parentingMode) 739 740 { 740 741 this->nullParent = NullParent::getInstance(); -
orxonox/trunk/src/story_entities/world.h
r3559 r3565 54 54 void spawn (WorldEntity* entity, Vector* absCoor, Quaternion* absDir); 55 55 void spawn(WorldEntity* entity, PNode* parentNode, Vector* relCoor, Quaternion* relDir, 56 parentingMode mode);56 int parentingMode); 57 57 58 58
Note: See TracChangeset
for help on using the changeset viewer.