Changeset 3686 in orxonox.OLD for orxonox/trunk/src/lib/coord
- Timestamp:
- Mar 31, 2005, 12:28:28 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r3683 r3686 422 422 { 423 423 if(this->time == 0) 424 return 0;425 Vector * diff = new Vector();426 *diff = *this->absCoordinate - *this->lastAbsCoordinate;427 float x = diff ->len();424 return 1000; 425 Vector diff; 426 diff = *this->absCoordinate - *this->lastAbsCoordinate; 427 float x = diff.len(); 428 428 return x / this->time; 429 429 }
Note: See TracChangeset
for help on using the changeset viewer.