提交 2434b9e1 编写于 作者: T Takahiro

Fix BufferGeometry computeBoundingSphere() with morph

上级 2df57706
......@@ -716,7 +716,7 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
for ( var j = 0, jl = morphAttribute.count; j < jl; j ++ ) {
vector.fromBufferAttribute( morphAttribute, i );
vector.fromBufferAttribute( morphAttribute, j );
maxRadiusSq = Math.max( maxRadiusSq, center.distanceToSquared( vector ) );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册