Fix NoisePerlin3DEased return value
parent
8d3a68f343
commit
8831703428
|
@ -187,7 +187,7 @@ float contour(float v);
|
||||||
#define NoisePerlin3DEased(np, x, y, z, s) ((np)->offset + (np)->scale * \
|
#define NoisePerlin3DEased(np, x, y, z, s) ((np)->offset + (np)->scale * \
|
||||||
noise3d_perlin((float)(x) / (np)->spread.X, (float)(y) / (np)->spread.Y, \
|
noise3d_perlin((float)(x) / (np)->spread.X, (float)(y) / (np)->spread.Y, \
|
||||||
(float)(z) / (np)->spread.Z, (s) + (np)->seed, (np)->octaves, \
|
(float)(z) / (np)->spread.Z, (s) + (np)->seed, (np)->octaves, \
|
||||||
(np)->persist), true)
|
(np)->persist, true))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue