修复代码片段高亮
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
在osgEarth中添加了osg::Geode,绘制蜂窝状六边形网格效果,包括墨卡托平面地图,地理坐标平面地图,三维地球等多种模式
|
||||

|
||||
```c++
|
||||
```cpp
|
||||
// 函数:创建六边形蜂窝网格线,三维地球
|
||||
osg::ref_ptr<osg::Geometry> createHexagonWireframe(const osgEarth::GeoExtent& extent, float radius, int rows, int cols) {
|
||||
osg::ref_ptr<osg::Geometry> geometry = new osg::Geometry;
|
||||
|
||||
Reference in New Issue
Block a user