|
@@ -191,9 +191,7 @@ class Box3 {
|
|
expandByObject( object, precise = false ) {
|
|
expandByObject( object, precise = false ) {
|
|
|
|
|
|
// Computes the world-axis-aligned bounding box of an object (including its children),
|
|
// Computes the world-axis-aligned bounding box of an object (including its children),
|
|
- // accounting for both the object's, and children's, world transforms.
|
|
|
|
-
|
|
|
|
- // For computational efficiency, the computed bounding box may be larger than the minimal world-axis-aligned bounding box.
|
|
|
|
|
|
+ // accounting for both the object's, and children's, world transforms
|
|
|
|
|
|
object.updateWorldMatrix( false, false );
|
|
object.updateWorldMatrix( false, false );
|
|
|
|
|