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:
Diffstat (limited to 'src/libslic3r/SLA/SupportPoint.hpp')
-rw-r--r--src/libslic3r/SLA/SupportPoint.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libslic3r/SLA/SupportPoint.hpp b/src/libslic3r/SLA/SupportPoint.hpp
index 202a614c3..71849a364 100644
--- a/src/libslic3r/SLA/SupportPoint.hpp
+++ b/src/libslic3r/SLA/SupportPoint.hpp
@@ -1,9 +1,7 @@
#ifndef SLA_SUPPORTPOINT_HPP
#define SLA_SUPPORTPOINT_HPP
-#include <vector>
-#include <libslic3r/SLA/Common.hpp>
-#include <libslic3r/ExPolygon.hpp>
+#include <libslic3r/Point.hpp>
namespace Slic3r { namespace sla {
@@ -29,13 +27,13 @@ struct SupportPoint
float pos_y,
float pos_z,
float head_radius,
- bool new_island)
+ bool new_island = false)
: pos(pos_x, pos_y, pos_z)
, head_front_radius(head_radius)
, is_new_island(new_island)
{}
- SupportPoint(Vec3f position, float head_radius, bool new_island)
+ SupportPoint(Vec3f position, float head_radius, bool new_island = false)
: pos(position)
, head_front_radius(head_radius)
, is_new_island(new_island)