summaryrefslogtreecommitdiffstats
path: root/core/math/quick_hull.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-07 14:54:15 +0100
committerGitHub <noreply@github.com>2019-11-07 14:54:15 +0100
commit77816fea8bf6d05c749c9724bf1a566454d58aec (patch)
tree58a728cecde763e690d2b26685e6e43fbba838a8 /core/math/quick_hull.cpp
parentf0fc28f0fd7a3116483340d1dad5e7b7229337f6 (diff)
parent218f38c7ecdea970a5e82a48e7782077be4fc248 (diff)
downloadredot-engine-77816fea8bf6d05c749c9724bf1a566454d58aec.tar.gz
Merge pull request #32477 from aaronfranke/equal-approx-separate
Make is_equal_approx separate and make == exact again
Diffstat (limited to 'core/math/quick_hull.cpp')
-rw-r--r--core/math/quick_hull.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/quick_hull.cpp b/core/math/quick_hull.cpp
index fc2eb1454d..f71f00afd6 100644
--- a/core/math/quick_hull.cpp
+++ b/core/math/quick_hull.cpp
@@ -401,7 +401,7 @@ Error QuickHull::build(const Vector<Vector3> &p_points, Geometry::MeshData &r_me
ERR_CONTINUE(O == E);
ERR_CONTINUE(O == NULL);
- if (O->get().plane.is_almost_like(f.plane)) {
+ if (O->get().plane.is_equal_approx(f.plane)) {
//merge and delete edge and contiguous face, while repointing edges (uuugh!)
int ois = O->get().indices.size();
int merged = 0;