摘要:
#include// 太阳、地球和月亮// 假设每个月都是30天// 一年12个月,共是360天static int day = 150;//day的变化:从0到359void myDisplay(void){ glDepthFunc(GL_LEQUAL);//设置深度// 太阳、地球和月亮/... 阅读全文
摘要:
参考: http://www.cnblogs.com/FredCong/archive/2012/10/13/2722893.html使用RGB#include #include void myDisplay1(void){ glClear(GL_COLOR_BUFFER_BIT); g... 阅读全文
摘要:
参考网址:http://www.cnblogs.com/FredCong/archive/2012/10/13/2722893.html#include #include #include #include void myDisplay1(void){ glClear(GL_COLOR_BUF... 阅读全文