Waterflow
Visualize water in terrain
|
00001 00002 00003 00004 #ifndef SDLTEXTURE_H 00005 #define SDLTEXTURE_H 00006 00007 #include "GL_utilities.h" 00008 #include "SDL_image.h" 00009 #include <string> 00010 00019 class sdlTexture 00020 { 00021 private: 00022 SDL_Surface* Surface; 00023 GLuint gTextureID; 00024 std::string texPath; 00025 public: 00034 sdlTexture(std::string tPath, GLuint gTexID); 00035 00038 GLuint getTexID(); 00039 }; 00040 00041 #endif // SDLTEXTURE_H