Ray-casting algorithm: Difference between revisions
Content deleted Content added
Line 497: | Line 497: | ||
rayIntersects = |
rayIntersects = |
||
intersects p line && |
intersects p line && |
||
(py /= ay || by < py) && |
|||
(py /= by || ay < py) |
|||
((ax, ay), (bx, by)) = side |
((ax, ay), (bx, by)) = side |
||
line = carrier side</lang> |
line = carrier side</lang> |