@Override
    public void write(JmeExporter e) throws IOException {
        super.write(e);
        OutputCapsule capsule = e.getCapsule(this);
        capsule.write(xExtent, "xExtent", 0);
        capsule.write(yExtent, "yExtent", 0);
        capsule.write(zExtent, "zExtent", 0);
        capsule.write(center, "center", Vector3f.ZERO);
    }
Rebuilds this box based on a new set of parameters.
<p>
The box is updated so that the two opposite corners are {@code minPoint}
and {@code maxPoint}, the other corners are created from those two positions.

@param minPoint the new minimum point of the box.
@param maxPoint the new maximum point of the box.
jme3-core/src/main/java/com/jme3/scene/shape/AbstractBox.java