Drag[en]gine Game Engine  1.21
deHeightTerrain.h File Reference

Classes

class  deHeightTerrain
 Height Terrain. More...
 

Macros

#define HT_16BIT_BASE   32767
 
#define HT_16BIT_HTOP   65535.0f
 
#define HT_16BIT_PTOH   ( 1.0f / 65535.0f )
 
#define HT_8BIT_BASE   127
 
#define HT_8BIT_HTOP   255.0f
 
#define HT_8BIT_PTOH   ( 1.0f / 255.0f )
 

Macro Definition Documentation

◆ HT_16BIT_BASE

#define HT_16BIT_BASE   32767

16-bit image value corresponding to 0 level.

◆ HT_16BIT_HTOP

#define HT_16BIT_HTOP   65535.0f

16-bit scaling factor height to pixel.

◆ HT_16BIT_PTOH

#define HT_16BIT_PTOH   ( 1.0f / 65535.0f )

16-bit scaling factor pixel to height.

◆ HT_8BIT_BASE

#define HT_8BIT_BASE   127

8-bit image value corresponding to 0 level.

◆ HT_8BIT_HTOP

#define HT_8BIT_HTOP   255.0f

8-bit scaling factor height to pixel.

◆ HT_8BIT_PTOH

#define HT_8BIT_PTOH   ( 1.0f / 255.0f )

8-bit scaling factor pixel to height.