From 1d69860e3c3b4018875a1f6480b5cb486a8d159f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Mon, 14 Dec 2015 11:46:08 -0500 Subject: [PATCH] lib/gamnit: tweak the world_camera to support devices with small depth buffer MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/gamnit/simple_2d.nit | 1 + 1 file changed, 1 insertion(+) 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 -- 1.7.9.5