public FloatBuffer fillFloatBuffer(FloatBuffer fb, boolean columnMajor) {
//        if (columnMajor){
//            fb.put(m00).put(m10).put(m20);
//            fb.put(m01).put(m11).put(m21);
//            fb.put(m02).put(m12).put(m22);
//        }else{
//            fb.put(m00).put(m01).put(m02);
//            fb.put(m10).put(m11).put(m12);
//            fb.put(m20).put(m21).put(m22);
//        }

        TempVars vars = TempVars.get();

        fillFloatArray(vars.matrixWrite, columnMajor);
        fb.put(vars.matrixWrite, 0, 9);

        vars.release();

        return fb;
    }
Copies the matrix to the specified FloatBuffer, starting at its current
position. The matrix is unaffected.

@param fb storage for the elements (not null, must have space to put 9
    more floats)
@param columnMajor true to store the elements in column-major order (m00,
    m10, ...) or false to store them in row-major order (m00, m01, ...)
@return {@code fb}, its position advanced by 9
jme3-core/src/main/java/com/jme3/math/Matrix3f.java