1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00

Apply suggestion to components/terrain/terraingrid.hpp

This commit is contained in:
Bret Curtis 2020-04-24 06:26:08 +00:00
parent 756ec7117b
commit ed970f4d17

View file

@ -28,7 +28,7 @@ namespace Terrain
View* createView(); View* createView();
protected: protected:
bool isGridEmpty() { return mGrid.empty(); } bool isGridEmpty() const { return mGrid.empty(); }
private: private:
osg::ref_ptr<osg::Node> buildTerrain (osg::Group* parent, float chunkSize, const osg::Vec2f& chunkCenter); osg::ref_ptr<osg::Node> buildTerrain (osg::Group* parent, float chunkSize, const osg::Vec2f& chunkCenter);