|
@@ -74,7 +74,6 @@
|
|
|
|
|
|
scene = new THREE.Scene();
|
|
|
scene.fog = new THREE.Fog( 0x000000, 1, 15000 );
|
|
|
- scene.autoUpdate = false;
|
|
|
|
|
|
var light = new THREE.PointLight( 0xff2200 );
|
|
|
light.position.set( 0, 0, 0 );
|
|
@@ -153,17 +152,6 @@
|
|
|
|
|
|
controls.update( clock.getDelta() );
|
|
|
|
|
|
- scene.updateMatrixWorld();
|
|
|
- scene.traverse( function ( object ) {
|
|
|
-
|
|
|
- if ( object instanceof THREE.LOD ) {
|
|
|
-
|
|
|
- object.update( camera );
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- } );
|
|
|
-
|
|
|
renderer.render( scene, camera );
|
|
|
|
|
|
}
|