]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/util/SGPickCallback.hxx
Support motion-tracking in pick callbacks.
[simgear.git] / simgear / scene / util / SGPickCallback.hxx
index 6361d20a91d69840bd43b0938c89fb9c17cc4b66..5dac95245386c6cb629b49b8b4ace6f4179f70e3 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef SG_SCENE_PICKCALLBACK_HXX
 #define SG_SCENE_PICKCALLBACK_HXX
 
+#include <osg/Vec2d>
+   
 #include <simgear/structure/SGReferenced.hxx>
 #include <simgear/structure/SGSharedPtr.hxx>
 #include <simgear/math/SGMath.hxx>
@@ -56,6 +58,9 @@ public:
   virtual void buttonReleased(void)
   { }
 
+  virtual void mouseMoved(const osgGA::GUIEventAdapter* event)
+  { }
+
   virtual bool hover(const osg::Vec2d& windowPos, const Info& info)
   {  return false; }