Increased back z plane in viewer

This commit is contained in:
Joost Nieuwenhuijse 2012-01-20 16:39:14 +01:00
parent d2cc093fab
commit 69ed3b365d

View file

@ -81,7 +81,7 @@ function Viewer(csg, width, height, depth) {
gl.viewport(0, 0, width, height);
gl.matrixMode(gl.PROJECTION);
gl.loadIdentity();
gl.perspective(45, width / height, 0.1, 100);
gl.perspective(45, width / height, 0.5, 1000);
gl.matrixMode(gl.MODELVIEW);
// Set up WebGL state