nclude "pch.h" #include #include #include #include #pragma comment(lib, "glut32.lib") #define C_PI 3.14159265358979 GLdouble distanceSunToEarth = 70;//日地距离 GLdouble distanceMoonToEarth = 35;//月地距离 GLdouble gzAngleEarth = 0;//地球绕太阳的公转角度 GLdouble gzAngleMo