mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 13:06:01 +10:00
Updated example
This commit is contained in:
@@ -144,7 +144,7 @@
|
||||
boxMesh.rotation.x = Math.sin( t ) * 180 * Math.PI / 180;
|
||||
|
||||
light.position.x = Math.sin( t );
|
||||
light.position.y = 1;
|
||||
light.position.y = 1.5;
|
||||
light.position.z = Math.cos( t );
|
||||
|
||||
lightCube.position.copy( light.position );
|
||||
|
||||
Reference in New Issue
Block a user