- Timestamp:
- Jan 31, 2006, 4:25:22 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/coord/p_node.cc
r6892 r6900 1259 1259 1260 1260 byte flags = 0; 1261 if ( fabs( coorx - relCoordinate.x ) > __OFFSET_POS ||1262 fabs( coory - relCoordinate.y ) > __OFFSET_POS ||1263 fabs( coorz - relCoordinate.z ) > __OFFSET_POS )1261 if ( fabs( coorx - relCoordinate.x ) > __OFFSET_POS*0.05*this->velocity.len() || 1262 fabs( coory - relCoordinate.y ) > __OFFSET_POS*0.05*this->velocity.len() || 1263 fabs( coorz - relCoordinate.z ) > __OFFSET_POS*0.05*this->velocity.len() ) 1264 1264 flags |= __FLAG_COOR; 1265 1265 … … 1309 1309 bool PNode::needsReadSync( ) 1310 1310 { 1311 if ( fabs( coorx - relCoordinate.x ) > __OFFSET_POS ||1312 fabs( coory - relCoordinate.y ) > __OFFSET_POS ||1313 fabs( coorz - relCoordinate.z ) > __OFFSET_POS )1311 if ( fabs( coorx - relCoordinate.x ) > __OFFSET_POS*0.05*this->velocity.len() || 1312 fabs( coory - relCoordinate.y ) > __OFFSET_POS*0.05*this->velocity.len() || 1313 fabs( coorz - relCoordinate.z ) > __OFFSET_POS*0.05*this->velocity.len() ) 1314 1314 return true; 1315 1315
Note: See TracChangeset
for help on using the changeset viewer.