Преглед изворни кода

Fixed webgl_interactive_cubes_gpu example. Fixes #3707.

Mr.doob пре 12 година
родитељ
комит
2d99251314
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/webgl_interactive_cubes_gpu.html

+ 1 - 1
examples/webgl_interactive_cubes_gpu.html

@@ -112,7 +112,7 @@
 					position.y = Math.random() * 6000 - 3000;
 					position.z = Math.random() * 8000 - 4000;
 
-					var rotation = new THREE.Vector3();
+					var rotation = new THREE.Euler();
 
 					rotation.x = Math.random() * 2 * Math.PI;
 					rotation.y = Math.random() * 2 * Math.PI;