Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/heightMap/src/lib/graphics/importer/heightmap.h @ 4090

Last change on this file since 4090 was 4090, checked in by nico, 19 years ago

branches/heightMap: some makefile and include stuff fixed

File size: 397 bytes
Line 
1
2
3#ifndef _HEIGHTMAP_H
4#define _HEIGHTMAP_H
5
6#include "model.h"
7#include <SDL_image.h>
8
9class Heightmap : public Model
10{
11
12public:
13        Heightmap(const char* fileName, float scaling = 1.0, int displaylistResolution = 100, int vertexResolution = 1);
14
15        virtual ~Heightmap();
16       
17private:
18        bool import (const char* fileName);
19
20        // holds the loaded pixels
21        SDL_Surface* bitmap;
22};
23
24#endif /* _HEIGHTMAP_H */
Note: See TracBrowser for help on using the repository browser.