diff options
Invert X axis rotation direction
-rw-r--r-- | ldc_3d_gl_interop.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldc_3d_gl_interop.py b/ldc_3d_gl_interop.py index 22bcd71..3aeaf50 100644 --- a/ldc_3d_gl_interop.py +++ b/ldc_3d_gl_interop.py @@ -244,8 +244,8 @@ def on_keyboard(key, x, y): global rotation x = { - b'w': numpy.pi/10, - b's': -numpy.pi/10 + b'w': -numpy.pi/10, + b's': numpy.pi/10 }.get(key, 0.0) z = { b'a': numpy.pi/10, |