Changeset 4090 in orxonox.OLD for orxonox/branches/heightMap/src/lib/graphics/importer/heightmap.h
- Timestamp:
- May 6, 2005, 6:01:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/heightMap/src/lib/graphics/importer/heightmap.h
r4021 r4090 1 2 3 #ifndef _HEIGHTMAP_H 4 #define _HEIGHTMAP_H 5 1 6 #include "model.h" 7 #include <SDL_image.h> 2 8 3 9 class Heightmap : public Model 4 10 { 5 11 12 public: 13 Heightmap(const char* fileName, float scaling = 1.0, int displaylistResolution = 100, int vertexResolution = 1); 6 14 15 virtual ~Heightmap(); 16 17 private: 18 bool import (const char* fileName); 7 19 20 // holds the loaded pixels 21 SDL_Surface* bitmap; 22 }; 8 23 9 10 11 } 24 #endif /* _HEIGHTMAP_H */
Note: See TracChangeset
for help on using the changeset viewer.