diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-11 18:31:07 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-11 21:30:30 +0200 |
commit | 4783b4ed0e228b3de642d71c6554ffcf60ab7858 (patch) | |
tree | 65d566003743095bd5ac2549b089f95df8326c27 /crawl-ref/source/ray.h | |
parent | bc91b96ff7b72ed86e02274adf9404b54ae2922c (diff) | |
download | crawl-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.h | 3 |
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, |