Changeset 7192 in orxonox.OLD for trunk/src/lib/coord
- Timestamp:
- Mar 1, 2006, 10:41:33 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r7129 r7192 777 777 { 778 778 float shiftLen = fabsf(dt)*bias; 779 if ( shiftLen >= 1.0)779 if (unlikely(shiftLen >= 1.0)) 780 780 shiftLen = 1.0; 781 781 Vector moveVect = (*this->toCoordinate - this->relCoordinate) * shiftLen; … … 794 794 { 795 795 float shiftLen = fabsf(dt)*bias; 796 if ( shiftLen >= 1.0)796 if (unlikely (shiftLen >= 1.0)) 797 797 shiftLen = 1.0; 798 798 //printf("%s::%s %f\n", this->getClassName(), this->getName(), this->toStep );
Note: See TracChangeset
for help on using the changeset viewer.