IMPORTANT: Use #contains(Vec3d)instead of the returned AxisAlignedBB#isVecInside(Vec3d) as the logic is different!
()
| 205 | /** IMPORTANT: Use {@link #contains(Vec3d)}instead of the returned {@link AxisAlignedBB#isVecInside(Vec3d)} as the |
| 206 | * logic is different! */ |
| 207 | public AxisAlignedBB getBoundingBox() { |
| 208 | return new AxisAlignedBB(min, max.add(VecUtil.POS_ONE)); |
| 209 | } |
| 210 | |
| 211 | public Box extendToEncompass(Vec3d toBeContained) { |
| 212 | setMin(VecUtil.min(min, VecUtil.convertFloor(toBeContained))); |
no test coverage detected