OpenGL ES for Android研究总结
GLU.gluLookAt(gl, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ)0> 如果没有主动调用这个函数,系统默认相当于调用了GLU.gluLookAt(gl, 0, 0, 0, 0, 0, 0, 0, 1, 0); 调用gl.glTranslatef(0,0,-1); 这个API后看到的效果等同于调用了GLU.gluLookAt(gl, 0, 0, -1, 0, 0, 0, 0, 1, 0);但调用后者不会影响
原创
2011-05-20 19:29:00 ·
7159 阅读 ·
0 评论