Changeset 3809 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Apr 13, 2005, 9:52:34 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3808 r3809 771 771 PRINTF(2)("debug() - starting debug\n"); 772 772 PNode* p1 = NullParent::getInstance (); 773 PNode* p2 = new PNode ( newVector(2, 2, 2), p1);774 PNode* p3 = new PNode ( newVector(4, 4, 4), p1);775 PNode* p4 = new PNode ( newVector(6, 6, 6), p2);773 PNode* p2 = new PNode (Vector(2, 2, 2), p1); 774 PNode* p3 = new PNode (Vector(4, 4, 4), p1); 775 PNode* p4 = new PNode (Vector(6, 6, 6), p2); 776 776 777 777 p1->debug (); … … 780 780 p4->debug (); 781 781 782 p1->shiftCoor ( newVector(-1, -1, -1));782 p1->shiftCoor (Vector(-1, -1, -1)); 783 783 784 784 printf("World::debug() - shift\n"); … … 796 796 p4->debug (); 797 797 798 p2->shiftCoor ( newVector(-1, -1, -1));798 p2->shiftCoor (Vector(-1, -1, -1)); 799 799 p1->update (0); 800 800 … … 804 804 p4->debug (); 805 805 806 p2->setAbsCoor ( newVector(1,2,3));806 p2->setAbsCoor (Vector(1,2,3)); 807 807 808 808 … … 1008 1008 this->entities->add (entity); 1009 1009 1010 entity->setAbsCoor ( absCoor);1011 entity->setAbsDir ( absDir);1010 entity->setAbsCoor (*absCoor); 1011 entity->setAbsDir (*absDir); 1012 1012 1013 1013 entity->postSpawn (); … … 1031 1031 parentNode->addChild (entity); 1032 1032 1033 entity->setRelCoor ( relCoor);1034 entity->setRelDir ( relDir);1033 entity->setRelCoor (*relCoor); 1034 entity->setRelDir (*relDir); 1035 1035 entity->setMode(parentingMode); 1036 1036
Note: See TracChangeset
for help on using the changeset viewer.