摘要:
static osg::Timer* sendMsgTimer = new osg::Timer; if (sendMsgTimer->time_m()>100)//100ms {// do what you want sendMsgTimer->setStartTick();//重置 } osg: 阅读全文
摘要:
// add the state manipulator viewer.addEventHandler( new osgGA::StateSetManipulator(viewer.getCamera()->getOrCreateStateSet()) ); // add the thread mo 阅读全文