|
@@ -112,10 +112,11 @@ line.geometry.attributes.position.needsUpdate = true; // required after the firs
|
|
|
</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.
|
|
|
+ If you change the position data values after the initial render, you may need to recompute
|
|
|
+ bounding volumes so other features of the engine like view frustum culling or helpers properly work.
|
|
|
</p>
|
|
|
<code>
|
|
|
+line.geometry.computeBoundingBox();
|
|
|
line.geometry.computeBoundingSphere();
|
|
|
</code>
|
|
|
|