summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/worley.h
diff options
context:
space:
mode:
authorBrendan Hickey <brendan@bhickey.net>2013-03-05 21:50:26 -0800
committerBrendan Hickey <brendan@bhickey.net>2013-03-05 21:50:26 -0800
commitd9a21ef806f9b2c4a71d3dd6cf383cb82b58efbe (patch)
tree7ed48ea4b4685901621f2d46807aabfb46beee44 /crawl-ref/source/worley.h
parent4bf3e34638f76458d700f1ccb80cb851c7a5e3bb (diff)
downloadcrawl-ref-d9a21ef806f9b2c4a71d3dd6cf383cb82b58efbe.tar.gz
crawl-ref-d9a21ef806f9b2c4a71d3dd6cf383cb82b58efbe.zip
Worley cell center vectors
Expose the cell center vector in worley.
Diffstat (limited to 'crawl-ref/source/worley.h')
-rw-r--r--crawl-ref/source/worley.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/worley.h b/crawl-ref/source/worley.h
index c8660507f2..690455e545 100644
--- a/crawl-ref/source/worley.h
+++ b/crawl-ref/source/worley.h
@@ -66,6 +66,7 @@ struct noise_datum
{
double distance[2];
uint32_t id[2];
+ double pos[2][3];
};
noise_datum noise(double x, double y, double z);