Skip to content

Commit f42a028

Browse files
authored
Revert "AABB clarification (#23125)" (#23330)
This reverts commit 249e041.
1 parent dad3a91 commit f42a028

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/api/en/math/Box3.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ <h3>[method:this setFromObject]( [param:Object3D object], [param:Boolean precise
270270
[page:Object3D object] - [page:Object3D] to compute the bounding box of.<br />
271271
precise - (optional) compute the smallest world-axis-aligned bounding box at the expense of more computation. Default is false.<br /><br />
272272

273-
Computes a world-axis-aligned bounding box of an [page:Object3D] (including its children),
274-
accounting for the object's, and children's, world transforms.<br /><br />
275-
For computational efficiency, the computed bounding box may be larger than the <em>minimal</em> world-axis-aligned bounding box.
273+
Computes the world-axis-aligned bounding box of an [page:Object3D] (including its children),
274+
accounting for the object's, and children's, world transforms.
275+
The function may result in a larger box than strictly necessary.
276276

277277
</p>
278278

src/math/Box3.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,7 @@ class Box3 {
191191
expandByObject( object, precise = false ) {
192192

193193
// Computes the world-axis-aligned bounding box of an object (including its children),
194-
// accounting for both the object's, and children's, world transforms.
195-
196-
// For computational efficiency, the computed bounding box may be larger than the minimal world-axis-aligned bounding box.
194+
// accounting for both the object's, and children's, world transforms
197195

198196
object.updateWorldMatrix( false, false );
199197

0 commit comments

Comments
 (0)