Changeset 3390 in orxonox.OLD for orxonox/branches/nico/src/importer/heightMapTerrain.h
- Timestamp:
- Feb 2, 2005, 1:04:00 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/nico/src/importer/heightMapTerrain.h
r3384 r3390 11 11 using namespace std; 12 12 13 #include "vector.h" 13 14 #include "../stdincl.h" 14 15 #include "vector.h"16 17 15 18 16 class HeightMapTerrain … … 35 33 36 34 // array of display lists 37 GLuint* displayLists;35 //GLuint* displayLists; 38 36 39 37 private: 40 38 // returns the height value between 0 and 256 for a point (x,z) in the picture 41 GLint heightValue(Uint8 x, Uint8 z); 42 39 GLint getHeightValue(int x, int z); 40 41 // makes a call to glNormal and glVertex for supplied x and z 42 void call_glNormal_and_glVertex(int x,int z,int top,int left,int height); 43 43 44 // holds the loaded pixels 44 45 SDL_Surface* bitmap; 45 46 47 // holds normal vector for every vertex 48 Vector* normals; 49 }; 46 50 47 48 }; 51
Note: See TracChangeset
for help on using the changeset viewer.