From: Daniel Karbach Date: Fri, 15 Dec 2017 17:43:09 +0000 (+0100) Subject: explicit dvec to vec X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=3906f7f9d086ee71f6b6da9cbc788fe3debee2cb;p=blobs.git explicit dvec to vec --- diff --git a/src/app/states.cpp b/src/app/states.cpp index d86039b..8647ff6 100644 --- a/src/app/states.cpp +++ b/src/app/states.cpp @@ -241,7 +241,7 @@ void MasterState::OnMouseWheel(const SDL_MouseWheelEvent &e) { } void MasterState::OnRender(graphics::Viewport &viewport) { - cam.LookAt(cam_pos, cam_focus, cam_up); + cam.LookAt(glm::vec3(cam_pos), glm::vec3(cam_focus), glm::vec3(cam_up)); assets.shaders.planet_surface.Activate(); assets.shaders.planet_surface.SetV(cam.View()); assets.shaders.sun_surface.Activate();