Ray-casting algorithm: Difference between revisions

Content added Content deleted
m (comment: edges not corners)
Line 1,836:
-- --- or -
-- ^ \
-- In both cases it touches both cornersedges, but ends up outside in the
-- top case, whereas it ends up inside in the left case. Just move
-- the y co-ordinate down a smidge and it'll work properly, by