diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-07-03 23:43:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-03 23:43:33 +0200 |
commit | e54c7d5715e70c4ef08b6a3f7039c2bdf2473045 (patch) | |
tree | f782dfef613af8fa5c211d7069e061e380a1f7c2 /core/math/quick_hull.cpp | |
parent | 2036273f944084ccbe2483619d4f4b3de48a322c (diff) | |
parent | 44ecfb028d21975944b47b6496712a29f17f3848 (diff) |
Merge pull request #9457 from TwistedTwigleg/Fixed_Vector3_snap
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
Diffstat (limited to 'core/math/quick_hull.cpp')
-rw-r--r-- | core/math/quick_hull.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/quick_hull.cpp b/core/math/quick_hull.cpp index 9f594ba4fa..54b97ac38c 100644 --- a/core/math/quick_hull.cpp +++ b/core/math/quick_hull.cpp @@ -58,7 +58,7 @@ Error QuickHull::build(const Vector<Vector3> &p_points, Geometry::MeshData &r_me for (int i = 0; i < p_points.size(); i++) { - Vector3 sp = p_points[i].snapped(0.0001); + Vector3 sp = p_points[i].snapped(Vector3(0.0001, 0.0001, 0.0001)); if (valid_cache.has(sp)) { valid_points[i] = false; //print_line("INVALIDATED: "+itos(i)); |