git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@491 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
26 lines
415 B
C
26 lines
415 B
C
#ifndef _PAYSAGES_TERRAIN_PRIVATE_H_
|
|
#define _PAYSAGES_TERRAIN_PRIVATE_H_
|
|
|
|
#include "public.h"
|
|
|
|
#define TERRAIN_HEIGHTMAP_DETAIL 0.1
|
|
|
|
typedef struct
|
|
{
|
|
int xstart;
|
|
int ystart;
|
|
int xsize;
|
|
int ysize;
|
|
double* data;
|
|
} TerrainHeightMapData;
|
|
|
|
struct TerrainHeightMap
|
|
{
|
|
int fixed_count;
|
|
TerrainHeightMapData* fixed_data;
|
|
int floating_used;
|
|
TerrainHeightMapData floating_data;
|
|
};
|
|
|
|
#endif
|