Fix NoisePerlin3DEased return value

master
kwolekr 2014-11-14 21:19:46 -05:00
parent 8d3a68f343
commit 8831703428
1 changed files with 1 additions and 1 deletions

View File

@ -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