(IBox toBeContained)
| 195 | } |
| 196 | |
| 197 | public Box extendToEncompass(IBox toBeContained) { |
| 198 | if (toBeContained == null) { |
| 199 | return this; |
| 200 | } |
| 201 | extendToEncompassBoth(toBeContained.min(), toBeContained.max()); |
| 202 | return this; |
| 203 | } |
| 204 | |
| 205 | /** IMPORTANT: Use {@link #contains(Vec3d)}instead of the returned {@link AxisAlignedBB#isVecInside(Vec3d)} as the |
| 206 | * logic is different! */ |
no test coverage detected