public static ConnectingBox fromXML(Element e, Camera cam){
Color color = new Color(Integer.parseInt(e.getElementsByTagName("Color").item(0).getTextContent()));
Vector d = Vector.parseVector(e.getElementsByTagName("Dimmention").item(0).getTextContent());
Vector p = Vector.parseVector(e.getElementsByTagName("Position").item(0).getTextContent());
Quat r = Quat.parseQuat(e.getElementsByTagName("Rotation").item(0).getTextContent());
return new ConnectingBox(cam,d,p,r,color);
}