public FloatBuffer toFloatBuffer() {
        FloatBuffer fb = BufferUtils.createFloatBuffer(9);

        fb.put(m00).put(m01).put(m02);
        fb.put(m10).put(m11).put(m12);
        fb.put(m20).put(m21).put(m22);
        fb.rewind();
        return fb;
    }
Copies the matrix to a new FloatBuffer. The matrix is unaffected.

@return a new, rewound FloatBuffer containing all 9 elements in row-major
    order (m00, m01, ...)
jme3-core/src/main/java/com/jme3/math/Matrix3f.java