#pragma once #include #include #include #include namespace grbl { struct heightmap { static heightmap from_params(float from_x, float from_y, float to_x, float to_y, float resolution); float from_x, from_y; float to_x, to_y; float resolution; size_t x_segments, y_segments; std::vector vertices; }; }