标签:cal node roo addchild dep path compute add nta
root_group->addChild(node22);
osg::Vec3f vec3f1 = node22->getBound().center();
osg::NodePathList nodePAthList1 = node22->getParentalNodePaths();
osg::Vec3 point3 = vec3f1 * osg::computeLocalToWorld(nodePAthList1[0]);
qDebug() << "index_node1 point3 " << " x:" << point3.x() << " y:" << point3.y() << " z:" << point3.z();
标签:cal node roo addchild dep path compute add nta
原文地址:https://www.cnblogs.com/herd/p/11808895.html