diff options
author | bubnikv <bubnikv@gmail.com> | 2018-08-17 16:53:43 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-08-17 16:53:43 +0300 |
commit | 65011f93827a6e10757faef3d14ee068d9da8c94 (patch) | |
tree | 987d53bee4ebfa5d5dddbc3a14811c26953b2aa1 /xs/src/libslic3r/Model.hpp | |
parent | 1ba64da3fee97433d6b580aae8fc8e9875143a66 (diff) |
Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors.
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 6c299fc4c..06f727ccf 100644 --- a/xs/src/libslic3r/Model.hpp +++ b/xs/src/libslic3r/Model.hpp @@ -120,7 +120,7 @@ public: // A snug bounding box around the transformed non-modifier object volumes. BoundingBoxf3 instance_bounding_box(size_t instance_idx, bool dont_translate = false) const; void center_around_origin(); - void translate(const Vectorf3 &vector) { this->translate(vector.x(), vector.y(), vector.z()); } + void translate(const Vectorf3 &vector) { this->translate(vector(0), vector(1), vector(2)); } void translate(coordf_t x, coordf_t y, coordf_t z); void scale(const Pointf3 &versor); void rotate(float angle, const Axis &axis); |