private void updateGeometry(float width, float height, boolean flipCoords) {
        this.width = width;
        this.height = height;

        float x = width / 2;
        float y = height / 2;
        setBuffer(Type.Position, 3, new float[]{
            -x, -y, 0f,
            +x, -y, 0f,
            +x, +y, 0f,
            -x, +y, 0f
        });

        if (flipCoords) {
            setBuffer(Type.TexCoord, 2, new float[]{
                0f, 1f,
                1f, 1f,
                1f, 0f,
                0f, 0f
            });
        } else {
            setBuffer(Type.TexCoord, 2, new float[]{
                0f, 0f,
                1f, 0f,
                1f, 1f,
                0f, 1f
            });
        }

        setBuffer(Type.Normal, 3, new float[]{
            0f, 0f, 1f,
            0f, 0f, 1f,
            0f, 0f, 1f,
            0f, 0f, 1f
        });

        if (width * height < 0f) {
            setBuffer(Type.Index, 3, new byte[]{
                0, 2, 1,
                0, 3, 2
            });
        } else {
            setBuffer(Type.Index, 3, new byte[]{
                0, 1, 2,
                0, 2, 3
            });
        }

        updateBound();
        setStatic();
    }
Serializes to the specified exporter, for example when saving to a J3O
file. The current instance is unaffected.

@param exporter the exporter to use (not null)
@throws IOException from the exporter
jme3-core/src/main/java/com/jme3/scene/shape/CenterQuad.java