diff engine/core/view/camera.h @ 245:ed1565a5a2a0

Fixed second camera in rio. Now multiple Camera.setLocation calls per frame are handled correctly.
author phoku@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 25 Mar 2009 14:17:59 +0000
parents 44919eb74c40
children 7e5717105212
line wrap: on
line diff
--- a/engine/core/view/camera.h	Wed Mar 25 09:38:10 2009 +0000
+++ b/engine/core/view/camera.h	Wed Mar 25 14:17:59 2009 +0000
@@ -253,12 +253,6 @@
 		 */
 		void refresh();
 
-		/** Returns latest camera movement in screen coordinates (dx, dy)
-		 */
-		inline ScreenPoint getLatestMovement() {
-			return m_prev_origo - m_cur_origo;
-		}
-		
 		/** Resets temporary values from last update round, like warped flag
 		 */
 		void resetUpdates();