summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ray.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-11 18:31:07 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-11 21:30:30 +0200
commit4783b4ed0e228b3de642d71c6554ffcf60ab7858 (patch)
tree65d566003743095bd5ac2549b089f95df8326c27 /crawl-ref/source/ray.h
parentbc91b96ff7b72ed86e02274adf9404b54ae2922c (diff)
downloadcrawl-ref-4783b4ed0e228b3de642d71c6554ffcf60ab7858.tar.gz
crawl-ref-4783b4ed0e228b3de642d71c6554ffcf60ab7858.zip
More ray_def simplification.
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r--crawl-ref/source/ray.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h
index dca0d00e4f..201a92edf1 100644
--- a/crawl-ref/source/ray.h
+++ b/crawl-ref/source/ray.h
@@ -40,7 +40,8 @@ public:
void set_degrees(double deg);
private:
- int _find_next_intercept();
+ int raw_advance_0();
+ void flip();
int raw_advance();
double reflect(bool x, double oldc, double newc) const;
void set_reflect_point(const double oldx, const double oldy,