diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-30 13:08:22 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-01 21:45:24 +0100 |
commit | b456d4c4fa57ab3eebfce79af43efaf457303f7e (patch) | |
tree | 6cefdfe82ec9d2a97a38c74abd3a49ef56f5e031 /crawl-ref/source/geom2d.h | |
parent | b9aa144a7fd572ea1695e30d7736a5f10dd2d4e8 (diff) | |
download | crawl-ref-b456d4c4fa57ab3eebfce79af43efaf457303f7e.tar.gz crawl-ref-b456d4c4fa57ab3eebfce79af43efaf457303f7e.zip |
Adapt los.cc to new ray_defs.
* Adapt los_ray.
* Register rays using geom::ray.
* Change cellray comparison functions (remove slope_diff which
I didn't understand, add first_diag which prefers rays that
start on diagonals for easier meph cloud targetting)
The rays that are actually being cast may need changing. For now,
rays that hit diamond corners are simply discarded.
Diffstat (limited to 'crawl-ref/source/geom2d.h')
0 files changed, 0 insertions, 0 deletions