KlausCDN
|
Posted: November 25, 2010 04:38 by KlausCDN
|
|
I try to get the actual model view matrix after some transformations like glTranslate, glRotate etc. My code snippet is: gl.glGetFloatv(gl.GL_MODELVIEW, matrix, 0); matrix was declared with: float matrix[]; matrix = new float [16]; but with: for(int i=0; i<16; i++) System.out.println(matrix[i]); I get only sixteen times the value 0.0 What should I have done? |
Problems with glGetFloatv
Replies: 1 - Last Post: November 26, 2010 20:37
by: KlausCDN
by: KlausCDN
showing 1 - 2 of 2
Replies: 1 - Last Post: November 26, 2010 20:37
by: KlausCDN
by: KlausCDN






