summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/perlin.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-21 04:41:45 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-21 10:22:15 +0100
commita7b66b498e0ba43781a1a9e6a2977fa223529dab (patch)
treecbbd178ae82be5c365ef5ebe257c573abd0fedd0 /crawl-ref/source/perlin.cc
parentf62db547df00da8dc36f9161e127692292583b54 (diff)
downloadcrawl-ref-a7b66b498e0ba43781a1a9e6a2977fa223529dab.tar.gz
crawl-ref-a7b66b498e0ba43781a1a9e6a2977fa223529dab.zip
Drop pointless empty lines after or before a brace.
I left them only where the contents is not indented, like in a namespace or a template.
Diffstat (limited to 'crawl-ref/source/perlin.cc')
-rw-r--r--crawl-ref/source/perlin.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/perlin.cc b/crawl-ref/source/perlin.cc
index 23d8abdea6..2c7d808326 100644
--- a/crawl-ref/source/perlin.cc
+++ b/crawl-ref/source/perlin.cc
@@ -294,7 +294,6 @@ namespace perlin
// 4D simplex noise, better simplex rank ordering method 2012-03-09
double noise(double x, double y, double z, double w)
{
-
double n0, n1, n2, n3, n4; // Noise contributions from the five corners
// Skew the (x,y,z,w) space to determine which cell of 24 simplices we're in
double s = (x + y + z + w) * F4; // Factor for 4D skewing