From: Alexis Laferrière Date: Mon, 14 Dec 2015 16:46:08 +0000 (-0500) Subject: lib/gamnit: tweak the world_camera to support devices with small depth buffer X-Git-Tag: v0.8~36^2~5 X-Git-Url: http://nitlanguage.org lib/gamnit: tweak the world_camera to support devices with small depth buffer Signed-off-by: Alexis Laferrière --- diff --git a/lib/gamnit/simple_2d.nit b/lib/gamnit/simple_2d.nit index 75aac5e..a37279b 100644 --- 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