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

Yes so I see your point, it'd need a pre-sort by height which is a double iteration of the arrays.


> 2) Repeat 1) choosing building by next height lower, unless lower building roof within range of an existing rendered roof x+width, then exclude that building from rendering.

How do you implement the unless-part?




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

Search: