OpenSceneGraph/include/osgUtil/TransformCallback
Robert Osfield c1283c23e8 Removed the trailing ; after namespace {...} declariations in headers
which was being picked as a warning under Codewarrior.
2002-02-03 12:33:41 +00:00

35 lines
673 B
Plaintext

//C++ header
#ifndef OSGUTIL_TRANSFORMCALLBACK
#define OSGUTIL_TRANSFORMCALLBACK 1
#include <osg/Node>
#include <osgUtil/Export>
namespace osgUtil
{
class OSGUTIL_EXPORT TransformCallback : public osg::NodeCallback
{
public:
TransformCallback(const osg::Vec3& pivot,const osg::Vec3& axis,float angularVelocity);
virtual void operator() (osg::Node* node, osg::NodeVisitor* nv);
protected:
float _angular_velocity;
osg::Vec3 _pivot;
osg::Vec3 _axis;
int _previousTraversalNumber;
double _previousTime;
};
}
#endif