QcBiomeMap::Area Struct
struct QcBiomeMap::AreaThe square of columns a map shows: radius blocks around the centre, one cell per blocksPerCell blocks. More...
Public Functions
Public Variables
| int | blocksPerCell |
| int | centreX |
| int | centreZ |
| int | radius |
Detailed Description
Member Function Documentation
int Area::blockX(int cell) const
Returns the world x of the north-west corner of the cells in column cell.
int Area::blockZ(int cell) const
Returns the world z of the north-west corner of the cells in row cell.
int Area::cells() const
Returns the number of cells along each side.
Member Variable Documentation
int Area::blocksPerCell
The side of one cell in blocks.
int Area::radius
Half the side of the square in blocks.