#include <BioGen.h>
Definition at line 188 of file BioGen.h.
◆ Super
◆ cBioGenDistortedVoronoi()
cBioGenDistortedVoronoi::cBioGenDistortedVoronoi |
( |
int |
a_Seed | ) |
|
|
inline |
◆ Distort()
void cBioGenDistortedVoronoi::Distort |
( |
int |
a_BlockX, |
|
|
int |
a_BlockZ, |
|
|
int & |
a_DistortedX, |
|
|
int & |
a_DistortedZ |
|
) |
| |
|
protected |
Distorts the coords using a Perlin-like noise.
Definition at line 377 of file BioGen.cpp.
◆ GenBiomes()
◆ InitializeBiomeGen()
void cBioGenDistortedVoronoi::InitializeBiomeGen |
( |
cIniFile & |
a_IniFile | ) |
|
|
overrideprotectedvirtual |
Reads parameters from the ini file, prepares generator for use.
Reimplemented from cBiomeGen.
Definition at line 365 of file BioGen.cpp.
◆ m_CellSize
int cBioGenDistortedVoronoi::m_CellSize |
|
protected |
Size of the Voronoi cells, also used for distortion amplitude.
Definition at line 210 of file BioGen.h.
◆ m_Noise
cNoise cBioGenDistortedVoronoi::m_Noise |
|
protected |
Noise used for the distortion.
Definition at line 204 of file BioGen.h.
◆ m_Voronoi
The underlying Voronoi map of the biomes.
Definition at line 207 of file BioGen.h.
The documentation for this class was generated from the following files: