Changeset 6536 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Jan 18, 2006, 1:34:53 PM (19 years ago)
- Location:
- branches/network/src/lib/coord
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/coord/p_node.cc
r6526 r6536 1205 1205 } 1206 1206 1207 static float coorx = relCoordinate.x + 1;1208 static float coory = relCoordinate.y + 1;1209 static float coorz = relCoordinate.z + 1;1210 1211 static float rotw = relDirection.w + 1;1212 static float rotx = relDirection.v.x + 1;1213 static float roty = relDirection.v.y + 1;1214 static float rotz = relDirection.v.z + 1;1215 1216 1207 byte flags = 0; 1217 1208 if ( fabs( coorx - relCoordinate.x ) > __OFFSET || … … 1227 1218 1228 1219 SYNCHELP_WRITE_BYTE( flags ); 1229 //PRINTF(0)("FLAGS = %d\n", flags); 1230 1231 coorx = relCoordinate.x; 1232 coory = relCoordinate.y; 1233 coorz = relCoordinate.z; 1234 1235 1236 rotw = relDirection.w; 1237 rotx = relDirection.v.x; 1238 roty = relDirection.v.y; 1239 rotz = relDirection.v.z; 1240 1220 PRINTF(0)("FLAGS = %d\n", flags); 1241 1221 1242 1222 if ( flags & __FLAG_COOR ) … … 1248 1228 SYNCHELP_WRITE_FLOAT( this->relCoordinate.y ); 1249 1229 SYNCHELP_WRITE_FLOAT( this->relCoordinate.z ); 1230 1231 coorx = relCoordinate.x; 1232 coory = relCoordinate.y; 1233 coorz = relCoordinate.z; 1250 1234 } 1251 1235 … … 1259 1243 SYNCHELP_WRITE_FLOAT( this->relDirection.v.y ); 1260 1244 SYNCHELP_WRITE_FLOAT( this->relDirection.v.z ); 1245 1246 rotw = relDirection.w; 1247 rotx = relDirection.v.x; 1248 roty = relDirection.v.y; 1249 rotz = relDirection.v.z; 1261 1250 } 1262 1251 -
branches/network/src/lib/coord/p_node.h
r6526 r6536 229 229 230 230 static PNode* nullParent; //!< The ROOT of the main PNode Tree. 231 232 private: 233 float coorx; 234 float coory; 235 float coorz; 236 237 float rotw; 238 float rotx; 239 float roty; 240 float rotz; 231 241 }; 232 242
Note: See TracChangeset
for help on using the changeset viewer.