mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-25 09:41:11 -06:00
Created a new gizmo for flattening an object
This commit is contained in:
parent
a06b6716ea
commit
25a6c7e30e
5 changed files with 211 additions and 3 deletions
|
|
@ -338,6 +338,7 @@ public:
|
|||
Undefined,
|
||||
Scale,
|
||||
Rotate,
|
||||
Flatten,
|
||||
Num_Types
|
||||
};
|
||||
|
||||
|
|
@ -382,6 +383,9 @@ public:
|
|||
float get_angle_z() const;
|
||||
void set_angle_z(float angle_z);
|
||||
|
||||
void set_flattening_data(std::vector<Pointf3s> vertices_list);
|
||||
Pointf3 get_flattening_normal() const;
|
||||
|
||||
void render(const GLCanvas3D& canvas, const BoundingBoxf3& box) const;
|
||||
void render_current_gizmo_for_picking_pass(const BoundingBoxf3& box) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue