|
@@ -144,7 +144,7 @@
|
|
boxMesh.rotation.x = Math.sin( t ) * 180 * Math.PI / 180;
|
|
boxMesh.rotation.x = Math.sin( t ) * 180 * Math.PI / 180;
|
|
|
|
|
|
light.position.x = Math.sin( t );
|
|
light.position.x = Math.sin( t );
|
|
- light.position.y = 1;
|
|
|
|
|
|
+ light.position.y = 1.5;
|
|
light.position.z = Math.cos( t );
|
|
light.position.z = Math.cos( t );
|
|
|
|
|
|
lightCube.position.copy( light.position );
|
|
lightCube.position.copy( light.position );
|