Pārlūkot izejas kodu

Updated example

Mikael Emtinger 14 gadi atpakaļ
vecāks
revīzija
408f05189c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      examples/webgl_stencil.html

+ 1 - 1
examples/webgl_stencil.html

@@ -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 );