Changeset 4475 for OpenSceneGraph/trunk/examples/osgcluster/osgcluster.cpp
- Timestamp:
- 08/29/05 22:38:46 (8 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcluster/osgcluster.cpp
r4474 r4475 12 12 13 13 #include <osg/Quat> 14 #include <osg/io_utils> 14 15 15 16 #if defined (WIN32) && !defined(__CYGWIN__) … … 231 232 writeUInt(fs.getFrameNumber()); 232 233 return writeDouble(fs.getReferenceTime()); 234 233 235 } 234 236 … … 338 340 if (cameraPacket._byte_order != SWAP_BYTES_COMPARE) 339 341 { 340 std::cout<<"Need to do swap bytes"<<std::endl;341 342 _swapBytes = !_swapBytes; 342 343 } … … 508 509 scratchPad.write(*cp); 509 510 511 scratchPad.reset(); 512 scratchPad.read(*cp); 513 510 514 bc.setBuffer(scratchPad._startPtr, scratchPad._numBytes); 511 515 … … 521 525 rc.setBuffer(scratchPad._startPtr, scratchPad._numBytes); 522 526 523 osg::notify(osg::NOTICE ) << "rc.sync()"<<scratchPad._numBytes<<std::endl;524 525 527 rc.sync(); 526 528 527 osg::notify(osg::NOTICE) << "done rc.sync()"<<scratchPad._numBytes<<std::endl;528 529 529 scratchPad.reset(); 530 530 scratchPad.read(*cp);
