diff options
| author | TwistedTwigleg | 2017-06-30 14:47:17 -0400 |
|---|---|---|
| committer | TwistedTwigleg | 2017-07-03 16:29:03 -0400 |
| commit | 44ecfb028d21975944b47b6496712a29f17f3848 (patch) | |
| tree | 5d9e8259992ef8ef1690235c540a306e073a36f4 /core/math/quick_hull.cpp | |
| parent | cb59236ce938fdf3ffe20b1f77c4f7058ddaadf1 (diff) | |
| download | godot-44ecfb028d21975944b47b6496712a29f17f3848.tar.gz godot-44ecfb028d21975944b47b6496712a29f17f3848.tar.zst godot-44ecfb028d21975944b47b6496712a29f17f3848.zip | |
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 9f594ba4f..54b97ac38 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)); |
