Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-08-21 22:05:24 +0300
committerbubnikv <bubnikv@gmail.com>2018-08-21 22:05:24 +0300
commit0b5b02e0027b9994e26f5b719355d6e08bb4b2db (patch)
treeab5b67985ed18e2b45fc7fe36c8c8b35a3026bae /xs/src/libslic3r/Model.hpp
parentcae08061129066bf4a225f8f4af4920cf49af7eb (diff)
Eradicated the Pointf class, replaced with Eigen Vector3d
Diffstat (limited to 'xs/src/libslic3r/Model.hpp')
-rw-r--r--xs/src/libslic3r/Model.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/libslic3r/Model.hpp b/xs/src/libslic3r/Model.hpp
index a7597ada5..6b6db7696 100644
--- a/xs/src/libslic3r/Model.hpp
+++ b/xs/src/libslic3r/Model.hpp
@@ -213,7 +213,7 @@ public:
// Transform3d transform;
double rotation; // Rotation around the Z axis, in radians around mesh center point
double scaling_factor;
- Pointf offset; // in unscaled coordinates
+ Vec2d offset; // in unscaled coordinates
// flag showing the position of this instance with respect to the print volume (set by Print::validate() using ModelObject::check_instances_print_volume_state())
EPrintVolumeState print_volume_state;
@@ -288,7 +288,7 @@ public:
BoundingBoxf3 bounding_box() const;
// Returns tight axis aligned bounding box of this model
BoundingBoxf3 transformed_bounding_box() const;
- void center_instances_around_point(const Pointf &point);
+ void center_instances_around_point(const Vec2d &point);
void translate(coordf_t x, coordf_t y, coordf_t z) { for (ModelObject *o : this->objects) o->translate(x, y, z); }
TriangleMesh mesh() const;
bool arrange_objects(coordf_t dist, const BoundingBoxf* bb = NULL);