|
@@ -151,20 +151,16 @@
|
|
|
|
|
|
<h3>[method:undefined computeBoundingBox]()</h3>
|
|
|
<p>
|
|
|
- Computes the bounding box, updating [page:.boundingBox] attribute.<br />
|
|
|
- Bounding boxes aren't computed by default. They need to be explicitly
|
|
|
- computed, otherwise they are `null`. If an instance of [name] is animated,
|
|
|
- this method should be called per frame to compute a correct bounding box.
|
|
|
+ Computes the bounding box of the skinned mesh, and updates the [page:.boundingBox] attribute.
|
|
|
+ The bounding box is not computed by the engine; it must be computed by your app.
|
|
|
+ If the skinned mesh is animated, the bounding box should be recomputed per frame.
|
|
|
</p>
|
|
|
|
|
|
<h3>[method:undefined computeBoundingSphere]()</h3>
|
|
|
<p>
|
|
|
- Computes the bounding sphere, updating [page:.boundingSphere]
|
|
|
- attribute.<br />
|
|
|
- Bounding spheres aren't computed by default. They need to be explicitly
|
|
|
- computed, otherwise they are `null`. If an instance of [name] is animated,
|
|
|
- this method should be called per frame to compute a correct bounding
|
|
|
- sphere.
|
|
|
+ Computes the bounding sphere of the skinned mesh, and updates the [page:.boundingSphere] attribute.
|
|
|
+ The bounding sphere is automatically computed by the engine when it is needed, e.g., for ray casting and view frustum culling.
|
|
|
+ If the skinned mesh is animated, the bounding sphere should be recomputed per frame.
|
|
|
</p>
|
|
|
|
|
|
<h3>[method:undefined normalizeSkinWeights]()</h3>
|