Explorar el Código

Fixed arealights example.
Not really good practice but it works again...

Mr.doob hace 12 años
padre
commit
e856c2963d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/webgldeferred_arealights.html

+ 1 - 1
examples/webgldeferred_arealights.html

@@ -177,7 +177,7 @@
 				var emitter = new THREE.Mesh( geometry, material );
 
 				emitter.position = light.position;
-				emitter.rotation = light.rotation;
+				emitter.quaternion = light.quaternion;
 				emitter.scale.set( light.width * 2, 0.2, light.height * 2 );
 
 				return emitter;