Prechádzať zdrojové kódy

Crossfade: Clean up

Mugen87 7 rokov pred
rodič
commit
d5c5c46ea0
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;