Created a new gizmo for flattening an object

This commit is contained in:
Lukas Matena 2018-08-09 16:55:43 +02:00
parent a06b6716ea
commit 25a6c7e30e
5 changed files with 211 additions and 3 deletions

View file

@ -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;