OpenGL光照效果

// 本程序中使用了两个光源,一个是标准的蓝色光源,另一个是红色的聚光灯 #include <windows.h> #pragma warning(disable : 4305) #include <GL/gl.h> #include <GL/glu.h> #include <GL/glaux.h> void myinit(void); void CALLBACK myReshape(GLsize
相关文章
相关标签/搜索