projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d3a68f
)
Fix NoisePerlin3DEased return value
author
kwolekr
<kwolekr@minetest.net>
Sat, 15 Nov 2014 02:19:46 +0000
(21:19 -0500)
committer
kwolekr
<kwolekr@minetest.net>
Sat, 15 Nov 2014 02:19:46 +0000
(21:19 -0500)
src/noise.h
patch
|
blob
|
history
diff --git
a/src/noise.h
b/src/noise.h
index 39805283787da6d64cae11c1398424323cd05ff3..3c726f17f603301ae6dbf1e23455e2339ded445a 100644
(file)
--- a/
src/noise.h
+++ b/
src/noise.h
@@
-187,7
+187,7
@@
float contour(float v);
#define NoisePerlin3DEased(np, x, y, z, s) ((np)->offset + (np)->scale * \
noise3d_perlin((float)(x) / (np)->spread.X, (float)(y) / (np)->spread.Y, \
(float)(z) / (np)->spread.Z, (s) + (np)->seed, (np)->octaves, \
- (np)->persist
), true
)
+ (np)->persist
, true)
)
#endif