Renamed DrawableUpdate/Event/Cull callbacks to use new include/osg/Callback versions

This commit is contained in:
Robert Osfield
2016-01-19 11:39:28 +00:00
parent e8fd414661
commit 55a8f4abbc
18 changed files with 34 additions and 27 deletions

View File

@@ -106,7 +106,7 @@ struct StatsGraph : public osg::MatrixTransform
osg::ref_ptr<osg::Geode> _statsGraphGeode;
struct NeverCull : public osg::Drawable::CullCallback
struct NeverCull : public osg::DrawableCullCallback
{
NeverCull() {}
bool cull(osg::NodeVisitor* /*nv*/, osg::Drawable* /*drawable*/, osg::RenderInfo* /*renderInfo*/) const { return false;}
@@ -137,7 +137,7 @@ struct StatsGraph : public osg::MatrixTransform
};
struct GraphUpdateCallback : public osg::Drawable::UpdateCallback
struct GraphUpdateCallback : public osg::DrawableUpdateCallback
{
const unsigned int _width;