From 7b1b08cf4bad43ce9efe3cfbc4060ad6e448a1c2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 1 Dec 2013 23:22:26 +0100 Subject: fix x key bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/v/D3.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/v/D3.java b/src/v/D3.java index 278f577..7292cd0 100644 --- a/src/v/D3.java +++ b/src/v/D3.java @@ -290,7 +290,7 @@ public class D3 case KeyEvent.VK_C: rg = -1; break; case KeyEvent.VK_X: - rotation_to_camera = true; + camera_to_rotation = true; break; case KeyEvent.VK_R: @@ -308,7 +308,7 @@ public class D3 case KeyEvent.VK_Q: srxy = -v; break; case KeyEvent.VK_X: - camera_to_rotation = true; + rotation_to_camera = true; break; case KeyEvent.VK_R: @@ -338,7 +338,7 @@ public class D3 if (camera_to_rotation) { - transform(on_inv(Pm)); + transform(Pm); camera_to_rotation = false; sreset = true; } -- cgit v1.2.3-70-g09d2