Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4989 in orxonox.OLD for orxonox/trunk/src/lib/coord/p_node.cc


Ignore:
Timestamp:
Aug 12, 2005, 4:37:06 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: softPNode finished for Movement only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/coord/p_node.cc

    r4988 r4989  
    420420void PNode::softReparent(PNode* parentNode)
    421421{
     422  //this->setRelCoorSoft(this->getRelCoor());
    422423  if (likely(this->toPosition == NULL))
     424  {
    423425    this->toPosition = new Vector();
    424 
    425   *this->toPosition = this->getRelCoor();
     426    *this->toPosition = this->getRelCoor();
     427  }
     428
    426429
    427430  Vector tmp = this->getAbsCoor();
Note: See TracChangeset for help on using the changeset viewer.