* Computes the world-axis-aligned bounding box for the given 3D object * (including its children), accounting for the object's, and children's, * world transforms. The function may result in a larger box than strictly necessary. * * Note: To compute the correct bounding box, make sure the gi
( object, precise = false )
| 153 | * @return {Box3} A reference to this bounding box. |
| 154 | */ |
| 155 | setFromObject( object, precise = false ) { |
| 156 | |
| 157 | this.makeEmpty(); |
| 158 | |
| 159 | return this.expandByObject( object, precise ); |
| 160 | |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * Returns a new box with copied values from this instance. |
no test coverage detected