提交 7381bbd3 编写于 作者: M Mr.doob

Merging #14283

上级 3148b9e3
......@@ -114,6 +114,14 @@ line.geometry.setDrawRange( 0, newValue );
line.geometry.attributes.position.needsUpdate = true; // required after the first render
</code>
<p>
If you change the position data values after the initial render, you may need to
call `.computeBoundingSphere()` in order to recalculate the geometry's bounding sphere.
</p>
<code>
line.geometry.computeBoundingSphere();
</code>
<p>
[link:http://jsfiddle.net/w67tzfhx/ Here is a fiddle] showing an animated line which you can adapt to your use case.
</p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册