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); }
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); }