box.setModelBound(new BoundingBox());
box.setModelBound(new BoundingSphere());
    private Spatial processPrimitive(HashMap atts){        String parameters=(String) atts.get("params");        String type=(String) atts.get("type");        if (parameters==null) throw new JmeException("Must specify parameters");        Spatial toReturn=null;        String[] parts=parameters.trim().split(" ");        if (type.equalsIgnoreCase("box")){            if (parts.length!=7) throw new JmeException("Box must have 7 parameters");            Box box=new Box(parts[0],new Vector3f(                    Float.parseFloat(parts[1]),                    Float.parseFloat(parts[2]),                    Float.parseFloat(parts[3])),                    new Vector3f(Float.parseFloat(parts[4]),                    Float.parseFloat(parts[5]),                    Float.parseFloat(parts[6])));            box.setModelBound(new BoundingBox());            box.updateModelBound();            toReturn=box;        }else{            throw new JmeException("Unknown primitive type: " + type);        }        return processSpatial(toReturn,atts);    }