nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4665c63
)
lib/gamnit: tweak the world_camera to support devices with small depth buffer
author
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 14 Dec 2015 16:46:08 +0000
(11:46 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 14 Dec 2015 16:46:08 +0000
(11:46 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/gamnit/simple_2d.nit
patch
|
blob
|
history
diff --git
a/lib/gamnit/simple_2d.nit
b/lib/gamnit/simple_2d.nit
index
75aac5e
..
a37279b
100644
(file)
--- a/
lib/gamnit/simple_2d.nit
+++ b/
lib/gamnit/simple_2d.nit
@@
-96,6
+96,7
@@
redef class App
# Aim for pixel resolution at level 0
camera.reset_height
+ camera.near = 100.0
return camera
end