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

@@ -91,7 +91,7 @@ void Keystone::compute3DPositions(osg::DisplaySettings* ds, osg::Vec3& tl, osg::
//
// Keystone helper functions
//
struct KeystoneCullCallback : public osg::Drawable::CullCallback
struct KeystoneCullCallback : public osg::DrawableCullCallback
{
KeystoneCullCallback(Keystone* keystone=0):_keystone(keystone) {}
KeystoneCullCallback(const KeystoneCullCallback&, const osg::CopyOp&) {}
@@ -108,7 +108,7 @@ struct KeystoneCullCallback : public osg::Drawable::CullCallback
};
struct KeystoneUpdateCallback : public osg::Drawable::UpdateCallback
struct KeystoneUpdateCallback : public osg::DrawableUpdateCallback
{
KeystoneUpdateCallback(Keystone* keystone=0):_keystone(keystone) {}
KeystoneUpdateCallback(const KeystoneUpdateCallback&, const osg::CopyOp&) {}