DunGen  1.0
Dungeongenerator library for Irrlicht
Static Public Attributes | List of all members
DunGen::SVoxelSpace Struct Reference

Parameters for the voxelspace. More...

#include <VoxelCaveCommon.h>

Static Public Attributes

static const unsigned int DimX = 512
 X dimension of the Voxel space. More...
 
static const unsigned int DimY = 512
 Y dimension of the Voxel space. More...
 
static const unsigned int DimZ = 512
 Z dimension of the Voxel space. More...
 
static const unsigned int MinBorder = 3
 

Detailed Description

Parameters for the voxelspace.

Member Data Documentation

const unsigned int DunGen::SVoxelSpace::DimX = 512
static

X dimension of the Voxel space.

const unsigned int DunGen::SVoxelSpace::DimY = 512
static

Y dimension of the Voxel space.

const unsigned int DunGen::SVoxelSpace::DimZ = 512
static

Z dimension of the Voxel space.

const unsigned int DunGen::SVoxelSpace::MinBorder = 3
static

Minimal distance of 1-voxels to the border of the voxel space.

This distance has to be 3 at least! The resulting 0-voxel-border allows it, to not have to check for special cases at the borders of the voxel space. This results in a huge speedup, because fewer branching is required.