summaryrefslogtreecommitdiff
path: root/src/3rdparty/poly2tri
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/poly2tri')
-rw-r--r--src/3rdparty/poly2tri/sweep/sweep.cpp2
-rw-r--r--src/3rdparty/poly2tri/sweep/sweep_context.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/poly2tri/sweep/sweep.cpp b/src/3rdparty/poly2tri/sweep/sweep.cpp
index 4df63038..902c0295 100644
--- a/src/3rdparty/poly2tri/sweep/sweep.cpp
+++ b/src/3rdparty/poly2tri/sweep/sweep.cpp
@@ -789,7 +789,7 @@ void Sweep::FlipScanEdgeEvent(SweepContext& tcx, Point& ep, Point& eq, Triangle&
// flip with new edge op->eq
FlipEdgeEvent(tcx, eq, op, &ot, op);
// TODO: Actually I just figured out that it should be possible to
- // improve this by getting the next ot and op before the the above
+ // improve this by getting the next ot and op before the above
// flip and continue the flipScanEdgeEvent here
// set new ot and op here and loop back to inScanArea test
// also need to set a new flip_triangle first
diff --git a/src/3rdparty/poly2tri/sweep/sweep_context.h b/src/3rdparty/poly2tri/sweep/sweep_context.h
index 482ab795..cd9a037c 100644
--- a/src/3rdparty/poly2tri/sweep/sweep_context.h
+++ b/src/3rdparty/poly2tri/sweep/sweep_context.h
@@ -38,7 +38,7 @@
namespace p2t {
-// Inital triangle factor, seed triangle will extend 30% of
+// Initial triangle factor, seed triangle will extend 30% of
// PointSet width to both left and right.
const float kAlpha = float(0.3);