summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/geom2d.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-31 20:16:24 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-01 21:45:26 +0100
commitb81b08f9aa02afd4a8195bf8d8b846b7de0788cd (patch)
treeee08c7ec4fdb6a2d572bfa241fb590ac6749e3c8 /crawl-ref/source/geom2d.h
parentf6cf2bbe461eb50243c279f5bc4b6efe1ab9c4da (diff)
downloadcrawl-ref-b81b08f9aa02afd4a8195bf8d8b846b7de0788cd.tar.gz
crawl-ref-b81b08f9aa02afd4a8195bf8d8b846b7de0788cd.zip
Add a bunch of ASSERTs to ray.cc.
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