From 8e34b56f48e9717e3291e0e5a1d71c6123d59516 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20F=C3=BCndgens?= Date: Fri, 27 Feb 2015 12:55:06 +0100 Subject: [PATCH] Not updating old camera twice anymore. --- camera.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/camera.cc b/camera.cc index 218eeac..2cd47bb 100644 --- a/camera.cc +++ b/camera.cc @@ -42,7 +42,6 @@ void Camera::setIsPhysicsCamera(bool val) usePhysicsCamera = val; } void Camera::updateRotation(glm::vec2 rotation) { - this->rotation += rotation; if((this->rotation.x + rotation.x) >= 1.57f) { this->rotation.x = 1.57; this->rotation.y += rotation.y;