1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-15 08:44:26 +00:00

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

This commit is contained in:
Enrico Turri
2018-11-05 08:31:54 +01:00
parent edceb80b18
commit fb6a08cfb0
2 changed files with 37 additions and 8 deletions
+4 -2
View File
@@ -231,8 +231,8 @@ public:
void scale(const Vec3d &versor);
void scale(const double s) { this->scale(Vec3d(s, s, s)); }
void scale(double x, double y, double z) { this->scale(Vec3d(x, y, z)); }
void rotate(float angle, const Axis &axis);
void rotate(float angle, const Vec3d& axis);
void rotate(double angle, Axis axis);
void rotate(double angle, const Vec3d& axis);
void mirror(const Axis &axis);
size_t materials_count() const;
size_t facets_count() const;
@@ -319,6 +319,8 @@ public:
void scale(const Vec3d& scaling_factors);
void scale(double x, double y, double z) { scale(Vec3d(x, y, z)); }
void scale(double s) { scale(Vec3d(s, s, s)); }
void rotate(double angle, Axis axis);
void rotate(double angle, const Vec3d& axis);
ModelMaterial* assign_unique_material();