Go to the source code of this file.
Defines | |
#define | MAXB 0x100 |
#define | N 0x1000 |
#define | NP 12 |
#define | NM 0xfff |
#define | s_curve(t) ( t * t * (3. - 2. * t) ) |
#define | lerp(t, a, b) ( a + t * (b - a) ) |
#define | setup(i, b0, b1, r0, r1) |
#define | at2(rx, ry) ( rx * q[0] + ry * q[1] ) |
#define | at3(rx, ry, rz) ( rx * q[0] + ry * q[1] + rz * q[2] ) |
Functions | |
void | CreateNoise3D (void) |
#define MAXB 0x100 |
Definition at line 17 of file gldesign_noise.c.
#define N 0x1000 |
Definition at line 18 of file gldesign_noise.c.
Referenced by _ExternalTextureProcedure(), Do3dsConvert(), get_material(), GetActiveTextureIDs(), GetMap(), main(), MakeBezierCurve(), polygonize(), ProcessChunk3ds(), ReadNurbs(), RecalibrateBezier(), RequestMaterialID(), and WriteTextures().
#define NP 12 |
Definition at line 19 of file gldesign_noise.c.
#define NM 0xfff |
Definition at line 20 of file gldesign_noise.c.
#define s_curve | ( | t | ) | ( t * t * (3. - 2. * t) ) |
Definition at line 22 of file gldesign_noise.c.
#define lerp | ( | t, | |||
a, | |||||
b | ) | ( a + t * (b - a) ) |
Definition at line 23 of file gldesign_noise.c.
#define setup | ( | i, | |||
b0, | |||||
b1, | |||||
r0, | |||||
r1 | ) |
Value:
Definition at line 24 of file gldesign_noise.c.
#define at2 | ( | rx, | |||
ry | ) | ( rx * q[0] + ry * q[1] ) |
Definition at line 30 of file gldesign_noise.c.
#define at3 | ( | rx, | |||
ry, | |||||
rz | ) | ( rx * q[0] + ry * q[1] + rz * q[2] ) |
Definition at line 31 of file gldesign_noise.c.
void CreateNoise3D | ( | void | ) |