public void fillFloatArray(float[] f, boolean columnMajor) {
        if (columnMajor) {
            f[0] = m00;
            f[1] = m10;
            f[2] = m20;
            f[3] = m01;
            f[4] = m11;
            f[5] = m21;
            f[6] = m02;
            f[7] = m12;
            f[8] = m22;
        } else {
            f[0] = m00;
            f[1] = m01;
            f[2] = m02;
            f[3] = m10;
            f[4] = m11;
            f[5] = m12;
            f[6] = m20;
            f[7] = m21;
            f[8] = m22;
        }
    }
Copies the matrix to the 1st 9 elements of the specified array. The
matrix is unaffected.

@param f storage for the elements (not null, length&ge;9)
@param columnMajor true to store the elements in column-major order (m00,
    m10, ...) or false to store them in row-major order (m00, m01, ...)
@see #get(float[], boolean)
jme3-core/src/main/java/com/jme3/math/Matrix3f.java