Changeset 3810 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Apr 13, 2005, 10:38:39 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3809 r3810 464 464 WorldEntity* baseNode = new Satellite(Vector(1,0,1), 1.2); 465 465 this->localPlayer->addChild(baseNode); 466 baseNode->setRelCoor( newVector(10.0, 2.0, 1.0));466 baseNode->setRelCoor(Vector(10.0, 2.0, 1.0)); 467 467 this->spawn(baseNode); 468 468 469 469 WorldEntity* secondNode = new Satellite(Vector(0,0,1), 2.0); 470 470 baseNode->addChild(secondNode); 471 secondNode->setRelCoor( newVector(0.0, 0.0, 3.0));471 secondNode->setRelCoor(Vector(0.0, 0.0, 3.0)); 472 472 this->spawn(secondNode); 473 473 … … 475 475 WorldEntity* thirdNode = new Satellite(Vector(0,0,1), 1.0); 476 476 secondNode->addChild(thirdNode); 477 thirdNode->setRelCoor( newVector(2.0, 0.0, 0.0));477 thirdNode->setRelCoor(Vector(2.0, 0.0, 0.0)); 478 478 this->spawn(thirdNode); 479 479 … … 483 483 WorldEntity* b = new Environment(); 484 484 this->localPlayer->addChild(b); 485 b->setRelCoor( newVector(10.0, 1.0, 1.0));485 b->setRelCoor(Vector(10.0, 1.0, 1.0)); 486 486 this->spawn(b); 487 487 … … 489 489 WorldEntity* c = new Environment(); 490 490 this->localPlayer->addChild(c); 491 c->setRelCoor( newVector(10.0, 2.0, -1.0));491 c->setRelCoor(Vector(10.0, 2.0, -1.0)); 492 492 this->spawn(c); 493 493 … … 576 576 577 577 terrain = new Terrain("../data/worlds/newGround.obj"); 578 terrain->setRelCoor( newVector(0,-10,0));578 terrain->setRelCoor(Vector(0,-10,0)); 579 579 this->spawn(terrain); 580 580
Note: See TracChangeset
for help on using the changeset viewer.