Increased back z plane in viewer

gh-pages
Joost Nieuwenhuijse 2012-01-20 16:39:14 +01:00
parent d2cc093fab
commit 69ed3b365d
1 changed files with 1 additions and 1 deletions

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