diff ship.d @ 17:82efafc87d54

fixed camera zoom
author zzzzrrr <mason.green@gmail.com>
date Tue, 24 Mar 2009 16:47:42 -0400
parents 8e6a9e390cba
children
line wrap: on
line diff
--- a/ship.d	Tue Mar 24 13:29:16 2009 -0400
+++ b/ship.d	Tue Mar 24 16:47:42 2009 -0400
@@ -121,9 +121,7 @@
     	state.velocity = rBody.linearVelocity;
     	state.speed = state.velocity.length;
     	state.position = rBody.position;
-    	bzVec2 heading = engineForce.rotate(rBody.angle);
-    	heading.normalize();
-    	state.forward = heading;
+    	state.forward = engineForce.rotate(rBody.angle);
     }
     
 }