|
@@ -108,7 +108,7 @@
|
|
shading: THREE.SmoothShading
|
|
shading: THREE.SmoothShading
|
|
} );
|
|
} );
|
|
|
|
|
|
- var geometry = new THREE.TorusKnotGeometry( 18, 8, 150, 20 );;
|
|
|
|
|
|
+ var geometry = new THREE.TorusKnotGeometry( 18, 8, 150, 20 );
|
|
var torusMesh1 = new THREE.Mesh( geometry, standardMaterial );
|
|
var torusMesh1 = new THREE.Mesh( geometry, standardMaterial );
|
|
torusMesh1.position.x = 0.0;
|
|
torusMesh1.position.x = 0.0;
|
|
torusMesh1.castShadow = true;
|
|
torusMesh1.castShadow = true;
|
|
@@ -154,7 +154,7 @@
|
|
var spotLight = new THREE.SpotLight( 0xffffff );
|
|
var spotLight = new THREE.SpotLight( 0xffffff );
|
|
spotLight.position.set( 50, 100, 50 );
|
|
spotLight.position.set( 50, 100, 50 );
|
|
spotLight.angle = Math.PI / 7;
|
|
spotLight.angle = Math.PI / 7;
|
|
- spotLight.penumbra = 0.8
|
|
|
|
|
|
+ spotLight.penumbra = 0.8;
|
|
spotLight.castShadow = true;
|
|
spotLight.castShadow = true;
|
|
scene.add( spotLight );
|
|
scene.add( spotLight );
|
|
|
|
|