aboutsummaryrefslogtreecommitdiff
path: root/core/math/face3.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam2017-09-01 22:33:39 +0200
committerHein-Pieter van Braam2017-09-02 01:59:26 +0200
commit9c63ab99f0a505b0f60079bb30cc453b4415fddc (patch)
tree7014cb6e8c2e71a0583656f76d3d37d719a74fb0 /core/math/face3.cpp
parentdac150108ab3c1f41d5fd86cc6853f883064caaf (diff)
downloadgodot-9c63ab99f0a505b0f60079bb30cc453b4415fddc.tar.gz
godot-9c63ab99f0a505b0f60079bb30cc453b4415fddc.tar.zst
godot-9c63ab99f0a505b0f60079bb30cc453b4415fddc.zip
Diffstat (limited to 'core/math/face3.cpp')
-rw-r--r--core/math/face3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/face3.cpp b/core/math/face3.cpp
index 748faad28..e1b172e49 100644
--- a/core/math/face3.cpp
+++ b/core/math/face3.cpp
@@ -296,7 +296,7 @@ void Face3::get_support(const Vector3 &p_normal, const Transform &p_transform, V
/** FIND SUPPORT VERTEX **/
int vert_support_idx = -1;
- real_t support_max;
+ real_t support_max = 0;
for (int i = 0; i < 3; i++) {