Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's raytracing. You can do LOS by raycasting only at line segments and points of blocking shapes, especially in 2D, which is the original post's concern. https://ncase.me/sight-and-light/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: