我想在 osgEarth 中绘制一个模型 BoundingBox,但位置不合适。
osg::ComputeBoundsVisitor boundVisitor;
node->accept(boundVisitor);
osg::BoundingBox boundingBox = boundVisitor.getBoundingBox();
osg::Matrixd localToWorld = osg::computeLocalToWorld(paath);
现在bounding box模型是垂直于地面的,但是方向不对。