From: sfan5 Date: Sun, 26 Apr 2020 17:52:09 +0000 (+0200) Subject: Remove unused lookup table from noise.cpp X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=68f45fc130341e1b3e7d3207658947324db87d3c;p=oweals%2Fminetest.git Remove unused lookup table from noise.cpp closes #9757 --- diff --git a/src/noise.cpp b/src/noise.cpp index 9c91a6df4..5a1d989cb 100644 --- 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},