Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Terrain.h File Reference
#include "graphics/HeightMipmap.h"
#include "graphics/SColor.h"
#include "maths/Fixed.h"
#include "maths/Vector3D.h"
#include "ps/CStr.h"
Include dependency graph for Terrain.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CTerrain
 

Variables

const ssize_t TERRAIN_TILE_SIZE = 4
 metres [world space units] per tile in x and z More...
 
const ssize_t HEIGHT_UNITS_PER_METRE = 92
 number of u16 height units per metre More...
 
const float HEIGHT_SCALE = 1.f / HEIGHT_UNITS_PER_METRE
 metres per u16 height unit More...
 

Variable Documentation

◆ HEIGHT_SCALE

const float HEIGHT_SCALE = 1.f / HEIGHT_UNITS_PER_METRE

metres per u16 height unit

◆ HEIGHT_UNITS_PER_METRE

const ssize_t HEIGHT_UNITS_PER_METRE = 92

number of u16 height units per metre

◆ TERRAIN_TILE_SIZE

const ssize_t TERRAIN_TILE_SIZE = 4

metres [world space units] per tile in x and z