Skip to content

Commit

Permalink
GLTFExporter: Fixed Ortho camera near value, as discussed on #13429
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandojsg committed Feb 25, 2018
1 parent d10b65f commit 731f121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/misc_exporter_gltf.html
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
// ---------------------------------------------------------------------
// Ortho camera
// ---------------------------------------------------------------------
var cameraOrtho = new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeight / 2, window.innerHeight / - 2, - 10, 10 );
var cameraOrtho = new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeight / 2, window.innerHeight / - 2, 0.1, 10 );
scene1.add( cameraOrtho );
cameraOrtho.name = 'OrthographicCamera';

Expand Down

0 comments on commit 731f121

Please sign in to comment.