Exposed exaggeration factor when rendering heightmap.

Added checkbox to select whether to run autoleveled program or not.
Heightmap can handle non integer from_x and to_x.
This commit is contained in:
2023-05-23 14:28:08 +03:00
parent 4e7e059e22
commit b7b9fed0dd
8 changed files with 118 additions and 143 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ public:
glm::vec3 get_extents_max() const { return max_pos; };
void update_grid(const grbl::heightmap& grid);
void update_grid(const grbl::heightmap& grid, float exaggeration_factor);
private:
GLsizei update_model_vbo(const grbl::program& pgm);
void update_model_extents(glm::vec3 point);