summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/geom2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/geom2d.h')
-rw-r--r--crawl-ref/source/geom2d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/geom2d.h b/crawl-ref/source/geom2d.h
index 504f1ed77a..6f7e147ab1 100644
--- a/crawl-ref/source/geom2d.h
+++ b/crawl-ref/source/geom2d.h
@@ -70,6 +70,8 @@ struct lineseq
lineseq() {}
lineseq(double a, double b, double o, double d)
: f(a,b), offset(o), dist(d) {}
+
+ double index(const vector &v) const;
};
struct grid