- Timestamp:
- 03/28/07 13:30:38 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcallback/osgcallback.cpp
r5914 r6422 40 40 class DrawableDrawCallback : public osg::Drawable::DrawCallback 41 41 { 42 virtual void drawImplementation(osg:: State& state,const osg::Drawable* drawable) const42 virtual void drawImplementation(osg::RenderInfo& renderInfo,const osg::Drawable* drawable) const 43 43 { 44 44 std::cout<<"draw call back - pre drawImplementation"<<drawable<<std::endl; 45 drawable->drawImplementation( state);45 drawable->drawImplementation(renderInfo); 46 46 std::cout<<"draw call back - post drawImplementation"<<drawable<<std::endl; 47 47 }
