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

Box3: Clean up.

上级 04ab44ff
......@@ -115,7 +115,6 @@ THREE.Box3.prototype = {
for ( var i = 0, il = vertices.length; i < il; i ++ ) {
v1.copy( vertices[ i ] );
v1.applyMatrix4( node.matrixWorld );
scope.expandByPoint( v1 );
......@@ -128,8 +127,7 @@ THREE.Box3.prototype = {
for ( var i = 0, il = positions.length; i < il; i += 3 ) {
v1.set( positions[ i ], positions[ i + 1 ], positions[ i + 2 ] );
v1.fromArray( positions, i );
v1.applyMatrix4( node.matrixWorld );
scope.expandByPoint( v1 );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册