lib/gamnit: tweak the world_camera to support devices with small depth buffer
[nit.git] / lib / gamnit / simple_2d.nit
index 75aac5e..a37279b 100644 (file)
@@ -96,6 +96,7 @@ redef class App
 
                # Aim for pixel resolution at level 0
                camera.reset_height
+               camera.near = 100.0
 
                return camera
        end