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

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJelle Spijker <j.spijker@ultimaker.com>2021-11-04 12:50:57 +0300
committerJelle Spijker <spijker.jelle@gmail.com>2021-11-04 12:52:40 +0300
commit30b3f29cc2c529a796dbae7b87ae51cbf2ef8d7c (patch)
tree8de0f776b2219f028b4532e18390762daf86b302 /src
parent0b7851b44ff133b510aed68009e2076f911fac35 (diff)
Fixed incorrect argument name
Contributes to CURA-8672
Diffstat (limited to 'src')
-rw-r--r--src/utils/polygonUtils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/polygonUtils.h b/src/utils/polygonUtils.h
index 515fa75a0..ce198accb 100644
--- a/src/utils/polygonUtils.h
+++ b/src/utils/polygonUtils.h
@@ -142,9 +142,9 @@ public:
static std::vector<Point> spreadDotsArea(const Polygons& polygons, coord_t grid_size);
/*!
- * Wether a polygon intersects with a line-segment. If true, the closest collission point to 'b' is stored in the result.
+ * Whether a polygon intersects with a line-segment. If true, the closest collision point to 'b' is stored in the result.
*/
- static bool lineSegmentPolygonsIntersection(const Point& a, const Point& b, const Polygons& current_outlines, const LocToLineGrid& outline_locator, Point& result, const coord_t within_max_dist2);
+ static bool lineSegmentPolygonsIntersection(const Point& a, const Point& b, const Polygons& current_outlines, const LocToLineGrid& outline_locator, Point& result, const coord_t within_max_dist);
/*!
* Get the normal of a boundary point, pointing outward.