return intersection(ray, (BoundingBox) volume);
return IntersectionBox.intersection(ray, (BoundingBox) volume);
    public static boolean intersection(Ray ray, BoundingVolume volume) {        if (volume instanceof BoundingSphere) {            return intersection(ray, (BoundingSphere) volume);        } else if (volume instanceof BoundingBox) {            return intersection(ray, (BoundingBox) volume);        }        return false;    }