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

I forget the exact algorithm, but you can factor in your x with y. For right-facing sides, anything at the same y with a greater x is in front of a lesser x, and vice versa for left-facing sides.


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

Search: