Changeset 6981 in orxonox.OLD for trunk/src/lib/graphics/importer/height_map.h
- Timestamp:
- Feb 2, 2006, 2:45:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/height_map.h
r6956 r6981 28 28 class HeightMap; 29 29 30 class Tile 30 class Tile 31 31 { 32 32 public: … … 40 40 float x; 41 41 float z; 42 ~Tile();42 virtual ~Tile(); 43 43 44 44 … … 47 47 HeightMap* hmref; 48 48 VertexArrayModel* highResModel; 49 VertexArrayModel* lowResModel; 49 VertexArrayModel* lowResModel; 50 50 int highRes; 51 51 int lowRes; … … 60 60 void load(int Mode); 61 61 void load(const char*, int Mode); 62 void scale( Vector V); 62 void scale( Vector V); 63 63 void setAbsCoor(Vector V); 64 float getHeight(float x, float y); 64 float getHeight(float x, float y); 65 65 float getNormal(float x, float y); 66 66 HeightMap(); 67 67 HeightMap(const char*); 68 68 HeightMap(const char*, const char*); 69 ~HeightMap();69 virtual ~HeightMap(); 70 70 71 71 friend class Tile; … … 74 74 SDL_Surface* heightMap; 75 75 SDL_Surface* colourMap; 76 unsigned char* heights; 76 unsigned char* heights; 77 77 unsigned char* colours; 78 78 … … 80 80 void drawRect(int xBottomLeft, int yBottomLeft, int xTopRight, int yTopRight ); 81 81 void fixBoarder(int xBottomLeft, int yBottomLeft, int xTopRight, int yTopRight); 82 Vector ** normalVectorField ; 82 Vector ** normalVectorField ; 83 83 Tile *** tiles; 84 84 Vector camCoords; 85 Vector offsetCoords; 85 Vector offsetCoords; 86 86 Material * tmp_mat; 87 87 Material* red_mat;
Note: See TracChangeset
for help on using the changeset viewer.