diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-11-30 13:13:27 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-11-30 13:13:27 -0500 |
commit | de0c79c143ddcc3fcad5f40a861d35a898ae812b (patch) | |
tree | d3c5b8529daabfacab721678817b17c5bc2e183d | |
parent | e372121ce523198bc40e3d15dbd48438c137cfcd (diff) |
render: camera: Fix orthographic camera such that the y-axis points up.
* sly/render/camera.scm (orthographic-camera): Reverse y-axis.
-rw-r--r-- | sly/render/camera.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sly/render/camera.scm b/sly/render/camera.scm index 3ec7089..a9b8e41 100644 --- a/sly/render/camera.scm +++ b/sly/render/camera.scm @@ -107,5 +107,5 @@ size WIDTH x HEIGHT. Optionally, z-axis clipping planes Z-NEAR and Z-FAR can be specified, but default to 0 and 1, respectively. By default, the camera's VIEWPORT is WIDTH x HEIGHT, which is convenient if the dimensions are measured in pixels." - (let ((projection (orthographic-projection 0 width 0 height z-near z-far))) + (let ((projection (orthographic-projection 0 width height 0 z-near z-far))) (make-camera identity-transform projection viewport))) |