Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types:
Changed the Point3 / Pointf3 to composite Eigen Vec3crd / Vec3d. Point3 is no more derived from Point, Pointf3 is no more derived from Pointf. Introduced Transform2f/3f/2d/3d types as aliases to Eigen::Transform.
This commit is contained in:
@@ -726,7 +726,7 @@ BoundingBox Print::bounding_box() const
|
||||
for (const PrintObject *object : this->objects)
|
||||
for (Point copy : object->_shifted_copies) {
|
||||
bb.merge(copy);
|
||||
copy.translate(object->size);
|
||||
copy.translate(object->size.xy());
|
||||
bb.merge(copy);
|
||||
}
|
||||
return bb;
|
||||
|
||||
Reference in New Issue
Block a user