Show
Ignore:
Timestamp:
08/31/05 00:28:30 (9 years ago)
Author:
robert
Message:

Added support for GrapicsOpeations? that are reused each frame, cleaned up
osgcamera example.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgcluster/osgcluster.cpp

    r4475 r4481  
    230230        void write(const osg::FrameStamp& fs) 
    231231        { 
     232            osg::notify(osg::NOTICE)<<"writeFramestamp = "<<fs.getFrameNumber()<<" "<<fs.getReferenceTime()<<std::endl; 
     233 
    232234            writeUInt(fs.getFrameNumber()); 
    233235            return writeDouble(fs.getReferenceTime()); 
     
    239241            fs.setFrameNumber(readUInt()); 
    240242            fs.setReferenceTime(readDouble()); 
     243 
     244            osg::notify(osg::NOTICE)<<"readFramestamp = "<<fs.getFrameNumber()<<" "<<fs.getReferenceTime()<<std::endl; 
    241245        } 
    242246 
     
    262266            writeDouble(matrix(3,2)); 
    263267            writeDouble(matrix(3,3)); 
     268 
     269            osg::notify(osg::NOTICE)<<"writeMatrix = "<<matrix<<std::endl; 
     270 
    264271        } 
    265272 
     
    285292            matrix(3,2) = readDouble(); 
    286293            matrix(3,3) = readDouble(); 
     294 
     295            osg::notify(osg::NOTICE)<<"readMatrix = "<<matrix<<std::endl; 
     296 
    287297        } 
    288298