From 75d1de3d156f4a7f079891e76f3dbc484be0f83d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 25 Mar 2010 14:12:28 +0000 Subject: [PATCH] Fixed warning --- examples/osganimationeasemotion/osganimationeasemotion.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/osganimationeasemotion/osganimationeasemotion.cpp b/examples/osganimationeasemotion/osganimationeasemotion.cpp index 2941fa666..35aca1eb9 100644 --- a/examples/osganimationeasemotion/osganimationeasemotion.cpp +++ b/examples/osganimationeasemotion/osganimationeasemotion.cpp @@ -57,7 +57,9 @@ osg::Geometry* createEaseMotionGeometry(osgAnimation::Motion* motion) { return geom; } -struct EaseMotionSampler: public osg::NodeCallback { +class EaseMotionSampler: public osg::NodeCallback +{ +public: float _previous; osg::Vec3 _pos;