diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-31 14:05:25 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-01 21:45:25 +0100 |
commit | 28bee194005a60ff88d2418f9195a173fadd2aa2 (patch) | |
tree | e4e9d659538f25f9aefb194b9f2eb7c5e3bc5cef /crawl-ref/source/ray.cc | |
parent | 2130c831446f0b7f2487a4704503901bf1e375e7 (diff) | |
download | crawl-ref-28bee194005a60ff88d2418f9195a173fadd2aa2.tar.gz crawl-ref-28bee194005a60ff88d2418f9195a173fadd2aa2.zip |
ray_def introductory comment.
Diffstat (limited to 'crawl-ref/source/ray.cc')
-rw-r--r-- | crawl-ref/source/ray.cc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/crawl-ref/source/ray.cc b/crawl-ref/source/ray.cc index bbf812009f..32b9531fd5 100644 --- a/crawl-ref/source/ray.cc +++ b/crawl-ref/source/ray.cc @@ -1,6 +1,14 @@ /* - * File: .cc - * Summary: + * File: ray.cc + * Summary: Diamond grid wrapper around geom::ray. + * + * The geom::grid diamonds is a checkerboard grid rotated + * by 45 degrees such that the black cells ("diamonds") lie just + * within the normal crawl map cells. + * + * ray_def provides for advancing and reflecting rays in + * map coordinates, where a ray touches a given cell if it + * meets the diamond. */ #include "AppHdr.h" |