太阳地球月球的框架结构 nclude "pch.h" #include #include #include #include #pragma comment(lib, "glut32.lib") #define C_PI 3.14159265358979 GLdouble dist
OpenGL地球仪 用OpenGL实现地球仪,包含了纹理、映射、旋转等作用intmain(intargc,char**argv){glutInit(&argc;,argv);glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGB|GLUT_DEPTH);glutInitWindowSize(6