From 2f5c423cc72aa690022bc3dab0db76f79dcf7a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Mon, 12 Feb 2018 18:45:53 +0100 Subject: [PATCH] Fix supposedly bad initialisation @Guinness is this correct? --- Ball.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ball.cpp b/Ball.cpp index 7f6c0f0..5851b5a 100644 --- a/Ball.cpp +++ b/Ball.cpp @@ -5,7 +5,7 @@ Ball::Ball(const Point& _center, double _min_height, double _v_x, double _v_z, double _p, double _q) : Center(_center), - surface(_center, min_height, _p, _q), + surface(_center, _min_height, _p, _q), init_h(_center.y), min_height(_min_height), bounce_number(0.0),