Browse Source

Remove outdated setting of focal length in examples (#26460)

* Fix setting focal length in effects_anaglyphy example

* Update

* Remove instead
Nathan Bierema 2 years ago
parent
commit
ebbaecf9ac

+ 0 - 1
examples/webgl_effects_anaglyph.html

@@ -53,7 +53,6 @@
 
 				camera = new THREE.PerspectiveCamera( 60, window.innerWidth / window.innerHeight, 0.01, 100 );
 				camera.position.z = 3;
-				camera.focalLength = 3;
 
 				const path = 'textures/cube/pisa/';
 				const format = '.png';

+ 0 - 1
examples/webgl_effects_parallaxbarrier.html

@@ -54,7 +54,6 @@
 
 				camera = new THREE.PerspectiveCamera( 60, window.innerWidth / window.innerHeight, 0.01, 100 );
 				camera.position.z = 3;
-				camera.focalLength = 3;
 
 				const path = 'textures/cube/pisa/';
 				const format = '.png';