标签:span local parent nta update osg 位置 cout position
osg::Vec3f vec3f1 = hookNode->getBound().center(); osg::NodePathList nodePAthList1 = hookNode->getParentalNodePaths(0); updateHookPosition_20190914(vec3f1, nodePAthList1); osg::Vec3 point3 = vec3f1 * osg::computeLocalToWorld(nodePath1); std::cout << "hook x:" << point3.x() << " y:" << point3.y() << " z:" << point3.z() << std::endl;
标签:span local parent nta update osg 位置 cout position
原文地址:https://www.cnblogs.com/herd/p/11518753.html