Vec3相互转化

std::vector<osg::Vec3f>转osg::Vec3Array:
    std::vector<osg::Vec3f>bufferOutLine;
    osg::Vec3Array* twoo = new osg::Vec3Array();

    for (auto one : bufferOutLine) {
        twoo->push_back(one);
    }

 

posted @ 2022-11-23 10:39  jessicaland  阅读(72)  评论(0)    收藏  举报