diff options
author | Lukas Matena <lukasmatena@seznam.cz> | 2018-08-21 16:40:11 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2018-08-21 16:40:11 +0300 |
commit | 86b67bbd4282016fbbbbc94306e37eada582daf1 (patch) | |
tree | 2b8883c8fa9b306e82911927cf0a34031ba1fbdb /xs/src/libslic3r/Model.hpp | |
parent | d197a5149ae86800ca84fe62af3d2b42e90c0d92 (diff) |
Lay flat - rotation is now done in one go directly about the necessary axis
Diffstat (limited to 'xs/src/libslic3r/Model.hpp')
-rw-r--r-- | xs/src/libslic3r/Model.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Model.hpp b/xs/src/libslic3r/Model.hpp index 23af9fb1c..dadd515de 100644 --- a/xs/src/libslic3r/Model.hpp +++ b/xs/src/libslic3r/Model.hpp @@ -120,7 +120,7 @@ public: void translate(const Vectorf3 &vector) { this->translate(vector.x, vector.y, vector.z); } void translate(coordf_t x, coordf_t y, coordf_t z); void scale(const Pointf3 &versor); - void rotate(float angle, const Axis &axis); + void rotate(float angle, const Pointf3& axis); void transform(const float* matrix3x4); void mirror(const Axis &axis); size_t materials_count() const; |