Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/manual/introduction/How-to-update-things.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ <h3>[page:BufferGeometry]</h3>
<code>
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.
Expand Down