Updates to osg::Drawable::AppCallback and osgprerender demo.

This commit is contained in:
Robert Osfield
2002-07-10 20:30:57 +00:00
parent 27338f57b1
commit 8b1e9345df
3 changed files with 170 additions and 160 deletions

View File

@@ -164,7 +164,7 @@ class SG_EXPORT Drawable : public Object
struct AppCallback : public osg::Referenced
{
/** do customized app code.*/
virtual void app(osg::NodeVisitor *visitor, osg::Drawable* drawable) const = 0;
virtual void app(osg::NodeVisitor *visitor, osg::Drawable* drawable) = 0;
};
/** Set the AppCallback which allows users to attach customize the undating of an object during the app traversal.*/