diff --git a/test/benchmark/core/UpdateMatrixWorld.js b/test/benchmark/core/UpdateMatrixWorld.js index 7caea37a640a31a5e023f7a61bae735902f1beee..50ff37a4f5dd3d2899fb041e5accafd3444ceef4 100644 --- a/test/benchmark/core/UpdateMatrixWorld.js +++ b/test/benchmark/core/UpdateMatrixWorld.js @@ -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; };