摘要:
osg鼠标缩放 bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) { // 得到x的初始屏幕坐标 float mouseX = ea.getX(); // 得到y的初始屏幕坐标 float mouse 阅读全文
摘要:
osg鼠标滚轮类型 enum ScrollingMotion { SCROLL_NONE, SCROLL_LEFT, SCROLL_RIGHT, SCROLL_UP, SCROLL_DOWN, SCROLL_2D }; ########################### 阅读全文