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

BufferGeometry: Compute BoundingBox/Sphere after applyMatrix(). #6167

上级 58cb06f4
......@@ -84,6 +84,18 @@ THREE.BufferGeometry.prototype = {
}
if ( this.boundingBox instanceof THREE.Box3 ) {
this.computeBoundingBox();
}
if ( this.boundingSphere instanceof THREE.Sphere ) {
this.computeBoundingSphere();
}
},
center: function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册