/** * intersects determines if this Bounding Box intersects with another given * bounding volume. If so, true is returned, otherwise, false is returned. * * @see BoundingVolume#intersects(com.jme3.bounding.BoundingVolume) */ public boolean intersects(BoundingVolume bv) { return bv.intersectsBoundingBox(this); }
/** * intersects determines if this Bounding Box intersects with another given * bounding volume. If so, true is returned, otherwise, false is returned. * * @see BoundingVolume#intersects(com.jme3.bounding.BoundingVolume) */ public boolean intersects(BoundingVolume bv) { return bv.intersectsBoundingBox(this); }
/** * intersects determines if this Bounding Box intersects with another given * bounding volume. If so, true is returned, otherwise, false is returned. * * @see BoundingVolume#intersects(com.jme3.bounding.BoundingVolume) */ public boolean intersects(BoundingVolume bv) { return bv.intersectsBoundingBox(this); }
@Override public boolean intersectsBox(BoundingBox box, TempVars vars) { return getBounds().intersectsBoundingBox(box); }