Changeset 6175

Show
Ignore:
Timestamp:
02/13/07 23:16:18
Author:
robert
Message:

Fixed warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/src/osgShadow/OccluderGeometry.cpp

    r6017 r6175  
    272272typedef osg::TriangleFunctor<TriangleCollector> TriangleCollectorFunctor; 
    273273 
    274 void OccluderGeometry::processGeometry(osg::Drawable* drawable, osg::Matrix* matrix, float sampleRatio
     274void OccluderGeometry::processGeometry(osg::Drawable* drawable, osg::Matrix* matrix, float /*sampleRatio*/
    275275{ 
    276276    // osg::notify(osg::NOTICE)<<"computeOccluderGeometry(osg::Node* subgraph, float sampleRatio)"<<std::endl; 
     
    742742void OccluderGeometry::computeShadowVolumeGeometry(const osg::Vec4& lightpos, ShadowVolumeGeometry& svg) const 
    743743{ 
    744     osg::Timer_t t0 = osg::Timer::instance()->tick(); 
     744    // osg::Timer_t t0 = osg::Timer::instance()->tick(); 
    745745 
    746746    ShadowVolumeGeometry::Vec3List& shadowVertices = svg.getVertices(); 
     
    882882    svg.dirtyBound(); 
    883883 
    884     osg::Timer_t t1 = osg::Timer::instance()->tick(); 
     884    // osg::Timer_t t1 = osg::Timer::instance()->tick(); 
    885885    // osg::notify(osg::NOTICE)<<"computeShadowVolumeGeometry "<<osg::Timer::instance()->delta_m(t0,t1)<<" ms"<<std::endl; 
    886886}