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:
eca6ee9
)
Remove unused lookup table from noise.cpp
author
sfan5
<sfan5@live.de>
Sun, 26 Apr 2020 17:52:09 +0000
(19:52 +0200)
committer
sfan5
<sfan5@live.de>
Sun, 26 Apr 2020 17:52:09 +0000
(19:52 +0200)
closes #9757
src/noise.cpp
patch
|
blob
|
history
diff --git
a/src/noise.cpp
b/src/noise.cpp
index 9c91a6df4332974f094df28774e129e0f0861054..5a1d989cb062c0b31d7d822e0ee27d913386c224 100644
(file)
--- a/
src/noise.cpp
+++ b/
src/noise.cpp
@@
-46,11
+46,6
@@
typedef float (*Interp3dFxn)(
float v001, float v101, float v011, float v111,
float x, float y, float z);
-float cos_lookup[16] = {
- 1.0f, 0.9238f, 0.7071f, 0.3826f, .0f, -0.3826f, -0.7071f, -0.9238f,
- 1.0f, -0.9238f, -0.7071f, -0.3826f, .0f, 0.3826f, 0.7071f, 0.9238f
-};
-
FlagDesc flagdesc_noiseparams[] = {
{"defaults", NOISE_FLAG_DEFAULTS},
{"eased", NOISE_FLAG_EASED},