mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Tech ENABLE_GCODE_VIEWER -> Bed axes rendered using the new OpenGL model class
This commit is contained in:
parent
3475604362
commit
8d5cea82f4
6 changed files with 154 additions and 37 deletions
|
@ -162,6 +162,8 @@ class GCodeViewer
|
|||
public:
|
||||
void init();
|
||||
|
||||
const BoundingBoxf3& get_bounding_box() const { return m_model.get_bounding_box(); }
|
||||
|
||||
void set_world_transform(const Transform3f& transform) { m_world_transform = transform; }
|
||||
void set_color(const std::array<float, 4>& color) { m_color = color; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue