diff --git a/blog/osgEarth六边形网格.md b/blog/osgEarth六边形网格.md index a634db7..20bfdb0 100644 --- a/blog/osgEarth六边形网格.md +++ b/blog/osgEarth六边形网格.md @@ -2,7 +2,7 @@   在osgEarth中添加了osg::Geode,绘制蜂窝状六边形网格效果,包括墨卡托平面地图,地理坐标平面地图,三维地球等多种模式 ![alt text](assets/osgEarth六边形网格/image.png) -```c++ +```cpp // 函数:创建六边形蜂窝网格线,三维地球 osg::ref_ptr createHexagonWireframe(const osgEarth::GeoExtent& extent, float radius, int rows, int cols) { osg::ref_ptr geometry = new osg::Geometry;