Provides additional cNoise member and its helper functions.
More...
#include <ProtIntGen.h>
|
| cProtIntGenWithNoise (int a_Seed) |
|
virtual void | GetInts (int a_MinX, int a_MinZ, size_t a_SizeX, size_t a_SizeZ, int *a_Values)=0 |
| Generates the array of specified size into a_Values, based on given min coords. More...
|
|
virtual | ~cProtIntGen () |
| 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...
|
|
Provides additional cNoise member and its helper functions.
Definition at line 70 of file ProtIntGen.h.
◆ Super
◆ cProtIntGenWithNoise()
cProtIntGenWithNoise::cProtIntGenWithNoise |
( |
int |
a_Seed | ) |
|
|
inline |
◆ chooseRandomOne() [1/2]
int cProtIntGenWithNoise::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 86 of file ProtIntGen.h.
◆ chooseRandomOne() [2/2]
int cProtIntGenWithNoise::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 93 of file ProtIntGen.h.
◆ m_Noise
cNoise cProtIntGenWithNoise::m_Noise |
|
protected |
The documentation for this class was generated from the following file: