Code example for FloatBuffer

Methods: get

0
    public void glLoadMatrixf(float[] m, int offset) {
        System.arraycopy(m, offset, mMatrix, mTop, MATRIX_SIZE);
    } 
 
    public void glLoadMatrixf(FloatBuffer m) {
        m.get(mMatrix, mTop, MATRIX_SIZE);
    } 
 
    public void glLoadMatrixx(int[] m, int offset) {
        for (int i = 0; i < MATRIX_SIZE; i++) {
            mMatrix[mTop + i] = fixedToFloat(m[offset + i]);
        } 
    } 
 
    public void glLoadMatrixx(IntBuffer m) {
        for (int i = 0; i < MATRIX_SIZE; i++) {
            mMatrix[mTop + i] = fixedToFloat(m.get());
        } 
    } 
 
    public void glMultMatrixf(float[] m, int offset) {