diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-11 21:21:17 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-11 21:30:30 +0200 |
commit | 6375a952f7c7af262d64d0785ae1af4f30e895df (patch) | |
tree | 71eb88d92d88d05b9f7be3e013306d1abbce9dd2 /crawl-ref/source/ray.h | |
parent | 38d50b4e0df9c9baab31313c1d1db2b678a72a3a (diff) | |
download | crawl-ref-6375a952f7c7af262d64d0785ae1af4f30e895df.tar.gz crawl-ref-6375a952f7c7af262d64d0785ae1af4f30e895df.zip |
Further cleanup of los.cc.
Don't store ray lengths in a second array, instead store them in
the rays. Also store their starting index, which makes the
ray_coords indexing a little cleaner.
Diffstat (limited to 'crawl-ref/source/ray.h')
-rw-r--r-- | crawl-ref/source/ray.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ray.h b/crawl-ref/source/ray.h index c55ff1390e..0bf5609b7f 100644 --- a/crawl-ref/source/ray.h +++ b/crawl-ref/source/ray.h @@ -53,7 +53,7 @@ public: double get_degrees() const; void set_degrees(double deg); -private: +protected: adv_type raw_advance_0(); void flip(); adv_type raw_advance(); |