如何在Z轴上旋转15度?
答案 0 :(得分:2)
glRotatef(15,0,0,1);
http://www.khronos.org/opengles/documentation/opengles1_0/html/glRotate.html
答案 1 :(得分:1)
解决方案是:
gl.glMatrixMode(GL10.GL_PROJECTION);
gl.glLoadIdentity();
GLU.gluPerspective(gl, 45.0f, (float) width / (float) height, 0.1f, 100.0f);
GLU.gluLookAt(gl, 0, -5, 0, 0.0f, 0.0f, -15.0f, 0.0f, 1.0f, 0.0f);