X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FApplication.cpp;h=20c371887c153e9a48edbc474926e4c532442751;hb=08d0e47634e1632c96ebe3308535a86f5e625b40;hp=34edd257174ec97494a0317b53307684659dd409;hpb=11306935dbf7213d583222ce239985e1b3f180bf;p=space.git diff --git a/src/app/Application.cpp b/src/app/Application.cpp index 34edd25..20c3718 100644 --- a/src/app/Application.cpp +++ b/src/app/Application.cpp @@ -141,6 +141,7 @@ void Application::Update(int dt) { controlled->acc = Vector(control * 10); cam.Update(delta); univ.Update(delta); + focus.SetSpeed(500 / cam.Zoom()); focus.Update(delta); }