From a5c456e75e9e950087700a2f469afc26cdffb8d3 Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 13 Apr 2008 17:27:36 +0000 Subject: [PATCH] (svn r12690) -Cleanup: remove unused table from tgp.cpp --- src/tgp.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/tgp.cpp b/src/tgp.cpp index b798210fc7..c5d4f41017 100644 --- a/src/tgp.cpp +++ b/src/tgp.cpp @@ -683,14 +683,6 @@ static inline int perlin_landXY(uint x, uint y) } -/* The following decimals are the octave power modifiers for the Perlin noise */ -static const double _perlin_p_values[][7] = { // perlin frequency per power - { 0.35, 0.35, 0.35, 0.35, 0.35, 0.25, 0.539 }, ///< Very smooth - { 0.45, 0.55, 0.45, 0.45, 0.35, 0.25, 0.89 }, ///< Smooth - { 0.85, 0.80, 0.70, 0.45, 0.45, 0.35, 1.825 }, ///< Rough 1.825 - { 0.95, 0.85, 0.80, 0.55, 0.55, 0.45, 2.245 } //< Very Rough 2.25 -}; - /** * The Perlin Noise calculation using large primes * The initial number is adjusted by two values; the generation_seed, and the