aboutsummaryrefslogtreecommitdiff
path: root/boltzgas/visual/view.py
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-03-27 22:04:16 +0100
committerAdrian Kummerlaender2020-03-27 22:04:16 +0100
commit5e99925cd258ff68f1da7ce0bdb823efe785d8de (patch)
tree1794eec3f8980fc036a01f9bf856c089bf7dc344 /boltzgas/visual/view.py
parent1d0639e33296f4cdc6f635732202ef05c2c6f81a (diff)
downloadboltzgas-5e99925cd258ff68f1da7ce0bdb823efe785d8de.tar
boltzgas-5e99925cd258ff68f1da7ce0bdb823efe785d8de.tar.gz
boltzgas-5e99925cd258ff68f1da7ce0bdb823efe785d8de.tar.bz2
boltzgas-5e99925cd258ff68f1da7ce0bdb823efe785d8de.tar.lz
boltzgas-5e99925cd258ff68f1da7ce0bdb823efe785d8de.tar.xz
boltzgas-5e99925cd258ff68f1da7ce0bdb823efe785d8de.tar.zst
boltzgas-5e99925cd258ff68f1da7ce0bdb823efe785d8de.zip
Reenable 2D support
Diffstat (limited to 'boltzgas/visual/view.py')
-rw-r--r--boltzgas/visual/view.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/boltzgas/visual/view.py b/boltzgas/visual/view.py
index b4c1acd..bdc18e8 100644
--- a/boltzgas/visual/view.py
+++ b/boltzgas/visual/view.py
@@ -125,8 +125,8 @@ class View:
self.particle_shader = Shader(*particle_shader)
self.decoration_shader = Shader(*decoration_shader)
- self.camera_projection = Projection(distance = 6)
- self.camera_rotation = Rotation([-1/2, -1/2, -1/2])
+ self.camera_projection = Projection(distance = 5)
+ self.camera_rotation = Rotation([-1/2, -1/2, -1/2], np.pi/2, 0)
self.camera_pos = np.matmul([0,-self.camera_projection.distance,0,1], self.camera_rotation.get_inverse())
self.mouse_monitors = [