We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a03675 commit 33487adCopy full SHA for 33487ad
docs/manual/en/introduction/How-to-update-things.html
@@ -114,6 +114,14 @@ <h3>[page:BufferGeometry]</h3>
114
line.geometry.attributes.position.needsUpdate = true; // required after the first render
115
</code>
116
117
+ <p>
118
+ If you change the position data values after the initial render, you may need to
119
+ call `.computeBoundingSphere()` in order to recalculate the geometry's bounding sphere.
120
+ </p>
121
+ <code>
122
+line.geometry.computeBoundingSphere();
123
+ </code>
124
+
125
<p>
126
[link:http://jsfiddle.net/w67tzfhx/ Here is a fiddle] showing an animated line which you can adapt to your use case.
127
</p>
0 commit comments