public FloatBuffer toFloatBuffer(boolean columnMajor) {
        FloatBuffer fb = BufferUtils.createFloatBuffer(16);
        fillFloatBuffer(fb, columnMajor);
        fb.rewind();
        return fb;
    }
Copy all elements to a new, direct FloatBuffer.

@param columnMajor true to store in column-major order, false to store in
row-major order
@return a rewound buffer containing all 16 element values
jme3-core/src/main/java/com/jme3/math/Matrix4f.java