summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-11 17:16:19 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-11 18:05:00 +0200
commit0f2a6c57d47cc0e5e55198914a3a67f25f2af380 (patch)
treee3301f0f163124114f64f7556c86969bc1b69b0a /crawl-ref/source/ray.h
parent6d7f5cbc0ee29a2056395636645168eb7586304c (diff)
downloadcrawl-ref-0f2a6c57d47cc0e5e55198914a3a67f25f2af380.tar.gz
crawl-ref-0f2a6c57d47cc0e5e55198914a3a67f25f2af380.zip
Move _find_next_intercept into ray_def.
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r--crawl-ref/source/ray.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h
index 058fe7ffb4..03e8fc4749 100644
--- a/crawl-ref/source/ray.h
+++ b/crawl-ref/source/ray.h
@@ -40,6 +40,7 @@ public:
void set_degrees(double deg);
private:
+ int _find_next_intercept();
int raw_advance();
double reflect(bool x, double oldc, double newc) const;
double reflect(double x, double c) const;