Mirror of ModelVolume as transformation component (without modifying the mesh)

This commit is contained in:
Enrico Turri 2018-11-05 08:51:00 +01:00
parent fb6a08cfb0
commit 864bc6ad48
2 changed files with 23 additions and 4 deletions

View file

@ -233,7 +233,7 @@ public:
void scale(double x, double y, double z) { this->scale(Vec3d(x, y, z)); }
void rotate(double angle, Axis axis);
void rotate(double angle, const Vec3d& axis);
void mirror(const Axis &axis);
void mirror(Axis axis);
size_t materials_count() const;
size_t facets_count() const;
bool needed_repair() const;
@ -321,6 +321,7 @@ public:
void scale(double s) { scale(Vec3d(s, s, s)); }
void rotate(double angle, Axis axis);
void rotate(double angle, const Vec3d& axis);
void mirror(Axis axis);
ModelMaterial* assign_unique_material();