diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/physics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/physics.c b/src/physics.c index f8c46fa..a50ba1f 100644 --- a/src/physics.c +++ b/src/physics.c @@ -89,7 +89,7 @@ static float phy_sim_csg_subsample(phy_csg_step *stack, float *x) static float phy_sim_csg_sample(phy_csg_step *stack, size_t *x) { size_t dx, dy, dz; - float total; + float total = 0.0f; for (dz = 0; dz < 2; dz++) for (dy = 0; dy < 2; dy++) |