Show
Ignore:
Timestamp:
11/14/06 13:16:39 (8 years ago)
Author:
robert
Message:

Added support for handling osg::ShapeDrawable? style drawables in OccluderGeoemtry?.

Files:
1 modified

Legend:

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

    r5701 r5705  
    5555     
    5656     
     57    osg::ref_ptr<osg::Geode> geode = new osg::Geode; 
     58 
    5759    osg::ref_ptr<osgShadow::OccluderGeometry> occluder = new osgShadow::OccluderGeometry; 
    5860    occluder->computeOccluderGeometry(model.get()); 
    5961     
    60     osg::ref_ptr<osg::Geode> geode = new osg::Geode; 
    6162    geode->addDrawable(occluder.get()); 
    6263