From a46fded5d93487974ac5f40ff36c8c0f4f7a9db2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 4 Nov 2023 11:21:23 +0000 Subject: Static helper for loading ASCII grid data --- test/test-terrain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test-terrain.cpp') diff --git a/test/test-terrain.cpp b/test/test-terrain.cpp index 53eebfb..512a90e 100644 --- a/test/test-terrain.cpp +++ b/test/test-terrain.cpp @@ -8,7 +8,7 @@ class TestTerrainMesh : public TerrainMesh { public: - TestTerrainMesh() : TerrainMesh {FIXTURESDIR "height/SD19.asc"} { } + TestTerrainMesh() : TerrainMesh {TerrainMesh::loadFromAsciiGrid(FIXTURESDIR "height/SD19.asc")} { } }; constexpr size_t ncols = 200, nrows = 200, xllcorner = 310000, yllcorner = 490000, cellsize = 50; -- cgit v1.2.3