Heightmaps can now be loaded.
This commit is contained in:
+1
-1
@@ -442,7 +442,7 @@ void grbl::program_renderer::update_grid(const grbl::heightmap& grid) {
|
||||
auto p3 = grid.vertices[next];
|
||||
|
||||
// exaggerate Z
|
||||
auto exaggeration_factor = 1000.0f;
|
||||
auto exaggeration_factor = 100.0f;
|
||||
p1.z *= exaggeration_factor;
|
||||
p2.z *= exaggeration_factor;
|
||||
p3.z *= exaggeration_factor;
|
||||
|
||||
Reference in New Issue
Block a user