Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebbaecf

Browse files
authored
Remove outdated setting of focal length in examples (mrdoob#26460)
* Fix setting focal length in effects_anaglyphy example * Update * Remove instead
1 parent 4e12145 commit ebbaecf

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

examples/webgl_effects_anaglyph.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353

5454
camera = new THREE.PerspectiveCamera( 60, window.innerWidth / window.innerHeight, 0.01, 100 );
5555
camera.position.z = 3;
56-
camera.focalLength = 3;
5756

5857
const path = 'textures/cube/pisa/';
5958
const format = '.png';

examples/webgl_effects_parallaxbarrier.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454

5555
camera = new THREE.PerspectiveCamera( 60, window.innerWidth / window.innerHeight, 0.01, 100 );
5656
camera.position.z = 3;
57-
camera.focalLength = 3;
5857

5958
const path = 'textures/cube/pisa/';
6059
const format = '.png';

0 commit comments

Comments
 (0)