void pick(const osgGA::GUIEventAdapter& ea, osgViewer::Viewer* viewer)
   {
               osgUtil::PolytopeIntersector* picker;
               double mx = ea.getXnormalized();
                double my = ea.getYnormalized();
                double w   = 0.05;
                double h   = 0.05;
                picker = new osgUtil::PolytopeIntersector( 
osgUtil::Intersector::MODEL, mx-w, my-h, mx+w, my+h );
    }

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/ff7da331-4f51-4fd9-83e1-b3ff83227efan%40googlegroups.com.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to