Changeset 3535 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 13, 2005, 11:38:45 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r3534 r3535 343 343 \param parent the Parent to set 344 344 */ 345 /*346 345 void PNode::setParent (PNode* parent) 347 346 { 348 347 parent->addChild(this); 349 348 } 350 */ 349 351 350 352 351 /** -
orxonox/trunk/src/lib/coord/p_node.h
r3529 r3535 65 65 void addChild (PNode* pNode, parentingMode mode); 66 66 void removeChild (PNode* pNode); 67 //void setParent (PNode* parent);67 void setParent (PNode* parent); 68 68 void parentCoorChanged (); 69 69 void parentDirChanged (); -
orxonox/trunk/src/story_entities/world.cc
r3529 r3535 30 30 #include "light.h" 31 31 #include "fontset.h" 32 #include "track_node.h" 32 33 33 34 using namespace std; … … 245 246 this->glmis->step(); 246 247 247 trackManager->setBindSlave(env); 248 // trackManager->setBindSlave(env); 249 TrackNode::getInstance()->addChild(myPlayer); 250 localCamera->setParent(TrackNode::getInstance()); 248 251 trackManager->condition(1, NEAREST, myPlayer); 249 252 -
orxonox/trunk/src/world_entities/player.cc
r3531 r3535 179 179 //l->dist = l->dist + travelSpeed * time; 180 180 181 Vector* shift = new Vector (this->travelSpeed * time, 0, 0);182 this->shiftCoor (shift);181 // Vector* shift = new Vector (this->travelSpeed * time, 0, 0); 182 // this->shiftCoor (shift); 183 183 184 184 /* this updates the player position on the track - user interaction */
Note: See TracChangeset
for help on using the changeset viewer.