public void testIsec() {
AABB box = AABB.fromMinMax(new Vec3D(), new Vec3D(100, 100, 100));
AABB box2 = AABB.fromMinMax(new Vec3D(10, 10, 10),
new Vec3D(80, 80, 80));
assertTrue(box.intersectsBox(box2));
assertTrue(box2.intersectsBox(box));
}
public void testIsInAABB() {
AABB box = new AABB(new Vec3D(100, 0, 0), new Vec3D(20, 20, 20));
ReadonlyVec3D p = new Vec3D(80, -19.99f, 0);