#include <cRandomPerlin.h>
- Todo:
- use IRandomBase* ? instead of g_RandFloat directly?
◆ cRandomPerlinBase()
GrayLib::cRandomPerlinBase::cRandomPerlinBase |
( |
cRandomFloat & |
rnd | ) |
|
|
inlineprotected |
◆ LinearInterpolation()
float GrayLib::cRandomPerlinBase::LinearInterpolation |
( |
float |
t, |
|
|
float |
a, |
|
|
float |
b |
|
) |
| |
|
inlineprotected |
◆ normalize2()
void GrayLib::cRandomPerlinBase::normalize2 |
( |
float |
v[2] | ) |
|
|
static |
◆ normalize3()
void GrayLib::cRandomPerlinBase::normalize3 |
( |
float |
v[3] | ) |
|
|
static |
◆ RandomFloat()
float GrayLib::cRandomPerlinBase::RandomFloat |
( |
| ) |
|
|
inlineprotected |
Get a float number from -1 to +1
◆ SCurve()
float GrayLib::cRandomPerlinBase::SCurve |
( |
float |
a | ) |
|
|
inlineprotected |
◆ Setup()
void GrayLib::cRandomPerlinBase::Setup |
( |
float |
i, |
|
|
int & |
b0, |
|
|
int & |
b1, |
|
|
float & |
r0, |
|
|
float & |
r1 |
|
) |
| |
|
inlineprotected |
◆ UNITTEST2_PREDEF()
GrayLib::cRandomPerlinBase::UNITTEST2_PREDEF |
( |
cRandomPerlin |
| ) |
|
◆ m_rnd
The documentation for this class was generated from the following files: