Provides additional cNoise member and its helper functions.
More...
#include <IntGen.h>
|
| cIntGenWithNoise (int a_Seed) |
|
virtual void | GetInts (int a_MinX, int a_MinZ, Values &a_Values)=0 |
| Generates the array of templated size into a_Values, based on given min coords. More...
|
|
virtual | ~cIntGen () |
| Force a virtual destructor in all descendants. More...
|
|
|
int | ChooseRandomOne (int a_RndX, int a_RndZ, int a_Val1, int a_Val2) |
| Chooses one of a_Val1 or a_Val2, based on m_Noise and the coordinates for querying the noise. More...
|
|
int | ChooseRandomOne (int a_RndX, int a_RndZ, int a_Val1, int a_Val2, int a_Val3, int a_Val4) |
| Chooses one of a_ValN, based on m_Noise and the coordinates for querying the noise. More...
|
|
template<int SizeX, int SizeZ = SizeX>
class cIntGenWithNoise< SizeX, SizeZ >
Provides additional cNoise member and its helper functions.
Definition at line 138 of file IntGen.h.
◆ Super
template<int SizeX, int SizeZ = SizeX>
◆ cIntGenWithNoise()
template<int SizeX, int SizeZ = SizeX>
◆ ChooseRandomOne() [1/2]
template<int SizeX, int SizeZ = SizeX>
int cIntGenWithNoise< SizeX, SizeZ >::ChooseRandomOne |
( |
int |
a_RndX, |
|
|
int |
a_RndZ, |
|
|
int |
a_Val1, |
|
|
int |
a_Val2 |
|
) |
| |
|
inlineprotected |
Chooses one of a_Val1 or a_Val2, based on m_Noise and the coordinates for querying the noise.
Definition at line 154 of file IntGen.h.
◆ ChooseRandomOne() [2/2]
template<int SizeX, int SizeZ = SizeX>
int cIntGenWithNoise< SizeX, SizeZ >::ChooseRandomOne |
( |
int |
a_RndX, |
|
|
int |
a_RndZ, |
|
|
int |
a_Val1, |
|
|
int |
a_Val2, |
|
|
int |
a_Val3, |
|
|
int |
a_Val4 |
|
) |
| |
|
inlineprotected |
Chooses one of a_ValN, based on m_Noise and the coordinates for querying the noise.
Definition at line 161 of file IntGen.h.
◆ m_Noise
template<int SizeX, int SizeZ = SizeX>
The documentation for this class was generated from the following file: