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

Fixed BufferGeometryLoader center breakage.

上级 c1763e8e
......@@ -59,7 +59,10 @@ THREE.BufferGeometryLoader.prototype = {
if ( boundingSphere !== undefined ) {
geometry.boundingSphere = new THREE.Sphere( boundingSphere.center, boundingSphere.radius );
geometry.boundingSphere = new THREE.Sphere(
new THREE.Vector3().fromArray( boundingSphere.center ),
boundingSphere.radius
);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册