瀏覽代碼

Crossfade: Clean up

Mugen87 7 年之前
父節點
當前提交
d5c5c46ea0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/crossfade/scenes.js

+ 1 - 1
examples/js/crossfade/scenes.js

@@ -33,7 +33,7 @@ function generateGeometry( objectType, numObjects ) {
 		rotation.x = Math.random() * 2 * Math.PI;
 		rotation.y = Math.random() * 2 * Math.PI;
 		rotation.z = Math.random() * 2 * Math.PI;
-		quaternion.setFromEuler( rotation );
+		quaternion.setFromEuler( rotation, false );
 
 		scale.x = Math.random() * 200 + 100;