提交 a4060629 编写于 作者: M Mr.doob

Fixed example that relied on redefining mesh.scale.

上级 ee61e909
......@@ -190,8 +190,8 @@
for ( var i = 0; i < geometries.length; i ++ ) {
var mesh = new THREE.Mesh( geometries[ i ], materials[ i ] );
mesh.position = position;
mesh.scale = scale;
mesh.position.copy( position );
mesh.scale.copy( scale );
scene.add( mesh );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册