@Override
    public int collideWith(Collidable other, CollisionResults results) throws UnsupportedCollisionException {
        if ((refreshFlags & (RF_BOUND | RF_TRANSFORM)) != 0) {
            logger.log(Level.WARNING, "Scene graph must be updated before checking collision");
            return 0;
        }
        
        if (other instanceof BoundingVolume) {
            if (!getWorldBound().intersects((BoundingVolume)other)) {
                return 0;
            }
        }
        
        if (other instanceof Ray) {
            return collideWithRay((Ray)other, results);
        } else if (other instanceof BoundingVolume) {
            return collideWithBoundingVolume((BoundingVolume)other, results);
        } else {
            throw new UnsupportedCollisionException("TerrainPatch cannot collide with "+other.getClass().getName());
        }
    }
@param quadrant
           The quadrant to set.
jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainPatch.java