谁用过OpenGL中的glOrthof()或GLU.gluOrtho2D()画过图形啊????真心求教!随便画出来个三角形或正方形什么的就可以!android上的。android中的demos我都看过了,没有用这两个方法画的。

解决方案 »

  1.   

    这个是api中解释void glOrthox(GLfixed left,
        GLfixed right,
        GLfixed bottom,
        GLfixed top,
        GLfixed near,
        GLfixed far)Parameters
    left, right 
    Specify the coordinates for the left and right vertical clipping planes.bottom, top 
    Specify the coordinates for the bottom and top horizontal clipping planes.near, far 
    Specify the distances to the nearer and farther depth clipping planes. These values are negative if the plane is to be behind the viewer.我的理解画出来应该是一个正方体,定点和一起就变成一个三棱锥,具体没试,你可以试试