Heightmap probing ... done?
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "grbl.h"
|
||||
#include "grbl_machine.h"
|
||||
#include "glm/ext/matrix_float4x4.hpp"
|
||||
#include "heightmap.h"
|
||||
#include <nanogui/opengl.h>
|
||||
|
||||
namespace grbl {
|
||||
@@ -18,7 +19,7 @@ public:
|
||||
|
||||
glm::vec3 get_extents_max() const { return max_pos; };
|
||||
|
||||
void update_grid(float from_x, float from_y, float to_x, float to_y, int resolution);
|
||||
void update_grid(const grbl::heightmap& grid);
|
||||
private:
|
||||
GLsizei update_model_vbo(const grbl::program& pgm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user