Changeset 6329 in orxonox.OLD for branches/height_map/src/lib/graphics/importer/height_map.h
- Timestamp:
- Dec 28, 2005, 1:51:28 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/height_map/src/lib/graphics/importer/height_map.h
r6249 r6329 17 17 18 18 #define sampleRate 4 19 #define texRate 4 20 #define texRatef 4.0f 19 21 20 22 class SDL_Surface; … … 32 34 void load(const char*, int Mode); 33 35 void scale( Vector V); 34 float getHeight(float x, float y); // x,y relative to HeightMap 36 void shift (Vector V); 37 float getHeight(float x, float y); 35 38 HeightMap(); 36 39 HeightMap(const char*); … … 56 59 float scaleY ; 57 60 float scaleZ ; 61 float shiftX ; 62 float shiftY ; 63 float shiftZ ; 58 64 int cmScaleX; 59 65 int cmScaleY; 60 66 bool hasColourMap; 67 61 68 inline int abs(int val) 62 69 {
Note: See TracChangeset
for help on using the changeset viewer.