Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4988 in orxonox.OLD for orxonox/trunk/src/lib/coord


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

orxonox/trunk: using, and optimizing soft-PNode through Camera

File:
1 edited

Legend:

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

    r4987 r4988  
    187187
    188188  *this->toPosition = relCoordSoft;
    189 
    190   this->toPosition->debug();
    191   printf("=-==============\n");
    192189}
    193190
     
    426423    this->toPosition = new Vector();
    427424
    428   *this->toPosition = parentNode->getAbsCoor() + this->getRelCoor();
     425  *this->toPosition = this->getRelCoor();
    429426
    430427  Vector tmp = this->getAbsCoor();
     
    494491void PNode::update (float dt)
    495492{
    496 
    497 
    498493  if( likely(this->parent != NULL))
    499494    {
     
    506501        {
    507502          this->shiftCoor(moveVect);
    508           moveVect.debug();
    509503        }
    510504        else
     
    512506          delete this->toPosition;
    513507          this->toPosition = NULL;
    514           PRINTF(0)("SmoothMove of %s finished\n", this->getName());
     508          PRINTF(5)("SmoothMove of %s finished\n", this->getName());
    515509        }
    516510      }
Note: See TracChangeset for help on using the changeset viewer.