用OpenGL实现地球仪,包含了纹理、映射、旋转等作用intmain(intargc,char**argv){glutInit(&argc;,argv);glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGB|GLUT_DEPTH);glutInitWindowSize(600,600);glutInitWindowPosition(100,100);glutCreateWindow("OpenGL地球——LEILEI");glutDisplayFunc(draw_tellurion);glutIdleFunc(Moving);init();glutMainLoop();return0;}
1