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
path: root/src
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-02-25 15:24:01 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-02-25 15:24:01 +0300
commite38522b3c1d43426de0ef6b82ae5525ac6706015 (patch)
treeceee32b2054e03fa3c17e071e4d9537c1c97d465 /src
parentbb3819fd1833043af9cf987992c638dd2582623e (diff)
Tiny cosmetics
Diffstat (limited to 'src')
-rw-r--r--src/libslic3r/SLA/SLASupportTreeIGL.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/libslic3r/SLA/SLASupportTreeIGL.cpp b/src/libslic3r/SLA/SLASupportTreeIGL.cpp
index 6a3b71e7d..25638fe69 100644
--- a/src/libslic3r/SLA/SLASupportTreeIGL.cpp
+++ b/src/libslic3r/SLA/SLASupportTreeIGL.cpp
@@ -205,9 +205,11 @@ template<class Vec> double distance(const Vec& pp1, const Vec& pp2) {
return std::sqrt(p.transpose() * p);
}
-PointSet normals(const PointSet& points, const EigenMesh3D& mesh,
+PointSet normals(const PointSet& points,
+ const EigenMesh3D& mesh,
double eps,
- std::function<void()> throw_on_cancel) {
+ std::function<void()> throw_on_cancel)
+{
if(points.rows() == 0 || mesh.V().rows() == 0 || mesh.F().rows() == 0)
return {};
@@ -228,7 +230,7 @@ PointSet normals(const PointSet& points, const EigenMesh3D& mesh,
const Vec3d& p3 = mesh.V().row(trindex(2));
// We should check if the point lies on an edge of the hosting triangle.
- // If it does than all the other triangles using the same two points
+ // If it does then all the other triangles using the same two points
// have to be searched and the final normal should be some kind of
// aggregation of the participating triangle normals. We should also
// consider the cases where the support point lies right on a vertex