Changeset 6594 in orxonox.OLD for branches/network
- Timestamp:
- Jan 18, 2006, 4:53:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/coord/p_node.cc
r6593 r6594 1200 1200 q.v.y = f3; 1201 1201 q.v.z = f4; 1202 this->set RelDir( q );1202 this->setAbsDir( q ); 1203 1203 } 1204 1204 … … 1227 1227 flags |= __FLAG_COOR; 1228 1228 1229 if ( fabs( rotw - relDirection.w ) > __OFFSET_ROT ||1230 fabs( rotx - relDirection.v.x ) > __OFFSET_ROT ||1231 fabs( roty - relDirection.v.y ) > __OFFSET_ROT ||1232 fabs( rotz - relDirection.v.z ) > __OFFSET_ROT )1229 if ( fabs( rotw - absDirection.w ) > __OFFSET_ROT || 1230 fabs( rotx - absDirection.v.x ) > __OFFSET_ROT || 1231 fabs( roty - absDirection.v.y ) > __OFFSET_ROT || 1232 fabs( rotz - absDirection.v.z ) > __OFFSET_ROT ) 1233 1233 flags |= __FLAG_ROT; 1234 1234 … … 1254 1254 { 1255 1255 1256 PRINTF(0)("SEND QUAT: %f %f %f %f\n", this-> relDirection.w, this->relDirection.v.x, this->relDirection.v.y, this->relDirection.v.z);1257 1258 SYNCHELP_WRITE_FLOAT( this-> relDirection.w );1259 SYNCHELP_WRITE_FLOAT( this-> relDirection.v.x );1260 SYNCHELP_WRITE_FLOAT( this-> relDirection.v.y );1261 SYNCHELP_WRITE_FLOAT( this-> relDirection.v.z );1262 1263 rotw = relDirection.w;1264 rotx = relDirection.v.x;1265 roty = relDirection.v.y;1266 rotz = relDirection.v.z;1256 PRINTF(0)("SEND QUAT: %f %f %f %f\n", this->absDirection.w, this->absDirection.v.x, this->absDirection.v.y, this->absDirection.v.z); 1257 1258 SYNCHELP_WRITE_FLOAT( this->absDirection.w ); 1259 SYNCHELP_WRITE_FLOAT( this->absDirection.v.x ); 1260 SYNCHELP_WRITE_FLOAT( this->absDirection.v.y ); 1261 SYNCHELP_WRITE_FLOAT( this->absDirection.v.z ); 1262 1263 rotw = absDirection.w; 1264 rotx = absDirection.v.x; 1265 roty = absDirection.v.y; 1266 rotz = absDirection.v.z; 1267 1267 } 1268 1268
Note: See TracChangeset
for help on using the changeset viewer.