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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user