Permalink
Browse files

Fix 2d camera to have y growing upwards. Otherwise, things are flippe…

…d upside down.
  • Loading branch information...
Shinmera committed Aug 16, 2017
1 parent 0a96a0f commit 378a916f0ec440462025ffa2f9a1ec609c4da5ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 camera.lisp
View
@@ -42,7 +42,7 @@
:location (vec 0 0 200)))
(defmethod setup-perspective ((camera 2d-camera) ev)
(orthographic-projection 0 (width ev) (height ev) 0
(orthographic-projection 0 (width ev) 0 (height ev)
(near-plane camera) (far-plane camera)))
(defmethod project-view ((camera 2d-camera) ev)

0 comments on commit 378a916

Please sign in to comment.