diff options
| author | Nicolas Silva | 2018-02-05 16:01:24 +0100 |
|---|---|---|
| committer | Nicolas Silva | 2018-02-05 16:01:24 +0100 |
| commit | 91215e191992f3cbbbf4fe047b000ac5a403085c (patch) | |
| tree | 45faa53584125884cd7747d6f03aff4c0f6df3c3 /core | |
| parent | e836a7d88d29347c509ef80a9e5cd63c682d5ad4 (diff) | |
| download | godot-91215e191992f3cbbbf4fe047b000ac5a403085c.tar.gz godot-91215e191992f3cbbbf4fe047b000ac5a403085c.tar.zst godot-91215e191992f3cbbbf4fe047b000ac5a403085c.zip | |
Diffstat (limited to 'core')
| -rw-r--r-- | core/math/triangulate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/triangulate.cpp b/core/math/triangulate.cpp index 957e16f92..5bae74ac7 100644 --- a/core/math/triangulate.cpp +++ b/core/math/triangulate.cpp @@ -74,7 +74,7 @@ bool Triangulate::is_inside_triangle(real_t Ax, real_t Ay, cCROSSap = cx * apy - cy * apx; bCROSScp = bx * cpy - by * cpx; - return ((aCROSSbp >= 0.0) && (bCROSScp >= 0.0) && (cCROSSap >= 0.0)); + return ((aCROSSbp > 0.0) && (bCROSScp > 0.0) && (cCROSSap > 0.0)); }; bool Triangulate::snip(const Vector<Vector2> &p_contour, int u, int v, int w, int n, const Vector<int> &V) { |
