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

Merge pull request #18744 from WestLangley/dev_box3

Box3: use .union() in .expandFromObject()
......@@ -262,8 +262,7 @@ Object.assign( Box3.prototype, {
_box.copy( geometry.boundingBox );
_box.applyMatrix4( object.matrixWorld );
this.expandByPoint( _box.min );
this.expandByPoint( _box.max );
this.union( _box );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册