From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/Physical.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/Physical.cpp') diff --git a/Stars45/Physical.cpp b/Stars45/Physical.cpp index 2bdb967..7350a9e 100644 --- a/Stars45/Physical.cpp +++ b/Stars45/Physical.cpp @@ -368,7 +368,7 @@ Physical::ArcadeFrame(double s) LinearFrame(seconds); // move the position by the (time-frame scaled) velocity: - pos += arcade_velocity * seconds + + pos += arcade_velocity * seconds + velocity * seconds; cam.MoveTo(pos); @@ -398,7 +398,7 @@ Physical::AngularFrame(double seconds) dr += (float) (dr_acc * seconds); dy += (float) (dy_acc * seconds); dp += (float) (dp_acc * seconds); - + dr *= (float) exp(-dr_drg * seconds); dy *= (float) exp(-dy_drg * seconds); dp *= (float) exp(-dp_drg * seconds); -- cgit v1.1