未验证 提交 92c393ea 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #14230 from takahirox/FixUpdateMatrixWorldTest

Fix .updateMatrixWorld() benchmark test
......@@ -8,9 +8,9 @@
rotation.setFromAxisAngle(new THREE.Vector3(0, 1, 0), Math.PI / 8);
var createLocallyOffsetChild = function() {
var child = new THREE.Object3D();
child.position = position;
child.scale = scale;
child.rotation = rotation;
child.position.copy(position);
child.scale.copy(scale);
child.rotation.copy(rotation);
return child;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册