diff options
Diffstat (limited to 'Stars45/Physical.cpp')
-rw-r--r-- | Stars45/Physical.cpp | 4 |
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); |