From 0845685ab4f45451ae76dbda1d7444ab420a7d72 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 14 Sep 2019 19:41:22 +0200 Subject: Invert X axis rotation direction --- ldc_3d_gl_interop.py | 4 ++-- 1 file 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, -- cgit v1.2.3