public final void updateGeometry(Vector3f minPoint, Vector3f maxPoint) {
        center.set(maxPoint).addLocal(minPoint).multLocal(0.5f);
        float x = maxPoint.x - center.x;
        float y = maxPoint.y - center.y;
        float z = maxPoint.z - center.z;
        updateGeometry(center, x, y, z);
    }
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