diff options
| author | Rémi Verschelde | 2018-04-19 13:04:41 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2018-04-19 15:20:45 +0200 |
| commit | bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25 (patch) | |
| tree | 40f6fa11f7dd41fd51343af01e1e298a2f7fd859 /core/math | |
| parent | 394e6d5ee1479d402892d6df75dddceeb967efcc (diff) | |
| download | godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.tar.gz godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.tar.zst godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.zip | |
Diffstat (limited to 'core/math')
| -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 102e454e0..fc9041741 100644 --- a/core/math/quick_hull.cpp +++ b/core/math/quick_hull.cpp @@ -74,7 +74,7 @@ Error QuickHull::build(const Vector<Vector3> &p_points, Geometry::MeshData &r_me int longest_axis = aabb.get_longest_axis_index(); //first two vertices are the most distant - int simplex[4]; + int simplex[4] = { 0 }; { real_t max = 0, min = 0; |
