Quellcode durchsuchen

set quaternion, not rotation (#25112)

Diarmid Mackenzie vor 2 Jahren
Ursprung
Commit
d93d110658
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      test/benchmark/core/UpdateMatrixWorld.js

+ 1 - 1
test/benchmark/core/UpdateMatrixWorld.js

@@ -11,7 +11,7 @@
 		var child = new THREE.Object3D();
 		child.position.copy( position );
 		child.scale.copy( scale );
-		child.rotation.copy( rotation );
+		child.quaternion.copy( rotation );
 		return child;
 
 	};