Increased back z plane in viewer
This commit is contained in:
parent
d2cc093fab
commit
69ed3b365d
|
@ -81,7 +81,7 @@ function Viewer(csg, width, height, depth) {
|
||||||
gl.viewport(0, 0, width, height);
|
gl.viewport(0, 0, width, height);
|
||||||
gl.matrixMode(gl.PROJECTION);
|
gl.matrixMode(gl.PROJECTION);
|
||||||
gl.loadIdentity();
|
gl.loadIdentity();
|
||||||
gl.perspective(45, width / height, 0.1, 100);
|
gl.perspective(45, width / height, 0.5, 1000);
|
||||||
gl.matrixMode(gl.MODELVIEW);
|
gl.matrixMode(gl.MODELVIEW);
|
||||||
|
|
||||||
// Set up WebGL state
|
// Set up WebGL state
|
||||||
|
|
Loading…
Reference in a new issue