Browse Source

Changed the target screen offset to a Vector2.

Daniel Eriksson 10 years ago
parent
commit
39e67048b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Babylon/Cameras/babylon.arcRotateCamera.ts

+ 1 - 1
Babylon/Cameras/babylon.arcRotateCamera.ts

@@ -18,7 +18,7 @@
         public keysLeft = [37];
         public keysRight = [39];
         public zoomOnFactor = 1;
-		public targetScreenOffset = Vector3.Zero();
+		public targetScreenOffset = Vector2.Zero();
 		
 		
         private _keys = [];