Now, I tried adding the lines : glEnable(GL_DEPTH_TEST ); glutInitDisplayMode(GLUT_DEPTH | GLUT_RGBA| GLUT_DOUBLE); to the init() method, as you wrote in the ...
確定! 回上一頁