Skip to content

Commit dad38c0

Browse files
committed
Examples: Clean up.
1 parent e1f93e1 commit dad38c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/webxr_vr_paint.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
scene.add( floor );
7272

7373
var grid = new THREE.GridHelper( 10, 20, 0x111111, 0x111111 );
74-
grid.material.depthTest = false; // avoid z-fighting
74+
// grid.material.depthTest = false; // avoid z-fighting
7575
scene.add( grid );
7676

7777
scene.add( new THREE.HemisphereLight( 0x888877, 0x777788 ) );

examples/webxr_vr_sculpt.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
scene = new THREE.Scene();
4444
scene.background = new THREE.Color( 0x222222 );
4545

46-
camera = new THREE.PerspectiveCamera( 50, window.innerWidth / window.innerHeight, 0.02, 50 );
46+
camera = new THREE.PerspectiveCamera( 50, window.innerWidth / window.innerHeight, 0.01, 50 );
4747
camera.position.set( 0, 1.6, 3 );
4848

4949
controls = new OrbitControls( camera, container );
@@ -72,7 +72,7 @@
7272
scene.add( floor );
7373

7474
var grid = new THREE.GridHelper( 10, 20, 0x111111, 0x111111 );
75-
grid.material.depthTest = false; // avoid z-fighting
75+
// grid.material.depthTest = false; // avoid z-fighting
7676
scene.add( grid );
7777

7878
scene.add( new THREE.HemisphereLight( 0x888877, 0x777788 ) );

0 commit comments

Comments
 (0)