Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 1, 2006, 10:41:33 AM (19 years ago)
Author:
bensch
Message:

scratchout added

File:
1 edited

Legend:

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

    r7129 r7192  
    777777      {
    778778        float shiftLen = fabsf(dt)*bias;
    779         if (shiftLen >= 1.0)
     779        if (unlikely(shiftLen >= 1.0))
    780780          shiftLen = 1.0;
    781781        Vector moveVect = (*this->toCoordinate - this->relCoordinate) * shiftLen;
     
    794794      {
    795795        float shiftLen = fabsf(dt)*bias;
    796         if (shiftLen >= 1.0)
     796        if (unlikely (shiftLen >= 1.0))
    797797          shiftLen = 1.0;
    798798        //printf("%s::%s %f\n", this->getClassName(), this->getName(), this->toStep );
Note: See TracChangeset for help on using the changeset viewer.