nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/gamnit: tweak the world_camera to support devices with small depth buffer
[nit.git]
/
lib
/
gamnit
/
simple_2d.nit
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