summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/geom2d.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-30 13:08:22 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-01 21:45:24 +0100
commitb456d4c4fa57ab3eebfce79af43efaf457303f7e (patch)
tree6cefdfe82ec9d2a97a38c74abd3a49ef56f5e031 /crawl-ref/source/geom2d.h
parentb9aa144a7fd572ea1695e30d7736a5f10dd2d4e8 (diff)
downloadcrawl-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