Changeset 6566 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Jan 18, 2006, 3:08:43 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/coord/p_node.cc
r6558 r6566 1193 1193 q.v.y = f3; 1194 1194 q.v.z = f4; 1195 this->set RelDir( q );1195 this->setAbsDir( q ); 1196 1196 } 1197 1197 … … 1220 1220 flags |= __FLAG_COOR; 1221 1221 1222 if ( fabs( rotw - relDirection.w ) > __OFFSET_ROT ||1223 fabs( rotx - relDirection.v.x ) > __OFFSET_ROT ||1224 fabs( roty - relDirection.v.y ) > __OFFSET_ROT ||1225 fabs( rotz - relDirection.v.z ) > __OFFSET_ROT )1222 if ( fabs( rotw - absDirection.w ) > __OFFSET_ROT || 1223 fabs( rotx - absDirection.v.x ) > __OFFSET_ROT || 1224 fabs( roty - absDirection.v.y ) > __OFFSET_ROT || 1225 fabs( rotz - absDirection.v.z ) > __OFFSET_ROT ) 1226 1226 flags |= __FLAG_ROT; 1227 1227 … … 1247 1247 { 1248 1248 1249 PRINTF(0)("SEND QUAT: %f %f %f %f\n", this-> relDirection.w, this->relDirection.v.x, this->relDirection.v.y, this->relDirection.v.z);1250 1251 SYNCHELP_WRITE_FLOAT( this-> relDirection.w );1252 SYNCHELP_WRITE_FLOAT( this-> relDirection.v.x );1253 SYNCHELP_WRITE_FLOAT( this-> relDirection.v.y );1254 SYNCHELP_WRITE_FLOAT( this-> relDirection.v.z );1255 1256 rotw = relDirection.w;1257 rotx = relDirection.v.x;1258 roty = relDirection.v.y;1259 rotz = relDirection.v.z;1249 PRINTF(0)("SEND QUAT: %f %f %f %f\n", this->absDirection.w, this->absDirection.v.x, this->absDirection.v.y, this->absDirection.v.z); 1250 1251 SYNCHELP_WRITE_FLOAT( this->absDirection.w ); 1252 SYNCHELP_WRITE_FLOAT( this->absDirection.v.x ); 1253 SYNCHELP_WRITE_FLOAT( this->absDirection.v.y ); 1254 SYNCHELP_WRITE_FLOAT( this->absDirection.v.z ); 1255 1256 rotw = absDirection.w; 1257 rotx = absDirection.v.x; 1258 roty = absDirection.v.y; 1259 rotz = absDirection.v.z; 1260 1260 } 1261 1261
Note: See TracChangeset
for help on using the changeset viewer.