summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Physical.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/Physical.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/Physical.cpp')
-rw-r--r--Stars45/Physical.cpp4
1 files changed, 2 insertions, 2 deletions
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);