提交 9c88b592 编写于 作者: C Charles Covey-Brandt

Update to explicitly check for undefined box value, add PR ID for discussion reference.

上级 2cde08bc
......@@ -32,7 +32,7 @@ Sphere.prototype = {
return function setFromPoints( points, optionalCenter ) {
box = box || new Box3();
if ( box === undefined ) box = new Box3(); // see #10547
var center = this.center;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册