Commits

Kevin McCarthy committed f740525

still swapped, let's try this again

Comments (0)

Files changed (1)

 		}
 		private function onMouseWheel(event:MouseEvent):void
 		{
-			if (event.delta > 0) {
-				this.camera.z -= this.scrollInterval;
+			if (event.delta < 0) {
+				this.camera.z += this.scrollInterval;
 			}
 			else if (this.camera.z > this.planetSize + this.scrollInterval) {
-				this.camera.z += this.scrollInterval;
+				this.camera.z -= this.scrollInterval;
 			}
 		}
 		private function onMouseUp(event:MouseEvent):void