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 osg-users+unsubscr...@googlegroups.com. 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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org