aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-09-14 19:41:22 +0200
committerAdrian Kummerlaender2019-09-14 19:41:22 +0200
commit0845685ab4f45451ae76dbda1d7444ab420a7d72 (patch)
treefcb9280b34750b75dd824db92df5d82a55aa8ea0
parent36bf34e62fbaa7591ed32902cc9e3c08a4f7edc0 (diff)
downloadsymlbm_playground-0845685ab4f45451ae76dbda1d7444ab420a7d72.tar
symlbm_playground-0845685ab4f45451ae76dbda1d7444ab420a7d72.tar.gz
symlbm_playground-0845685ab4f45451ae76dbda1d7444ab420a7d72.tar.bz2
symlbm_playground-0845685ab4f45451ae76dbda1d7444ab420a7d72.tar.lz
symlbm_playground-0845685ab4f45451ae76dbda1d7444ab420a7d72.tar.xz
symlbm_playground-0845685ab4f45451ae76dbda1d7444ab420a7d72.tar.zst
symlbm_playground-0845685ab4f45451ae76dbda1d7444ab420a7d72.zip
Invert X axis rotation direction
-rw-r--r--ldc_3d_gl_interop.py4
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,