现在的场景.cpp 纹理贴图实例 棋盘
#include #if !defined_MAIN_H_ #define _MAIN_H_ #include #define WIDTH 64 #define HEIGHT 64 GLubyte Image[WIDTH][HEIGHT][4]; static GLuint texName; GLint WinWidth;
#include #if !defined_MAIN_H_ #define _MAIN_H_ #include #define WIDTH 64 #define HEIGHT 64 GLubyte Image[WIDTH][HEIGHT][4]; static GLuint texName; GLint WinWidth;