3 ms·
How do you efficiently choose the highest building in step 1?
by soegaard 2y ago
How do you efficiently choose the highest building in step 1?
- SillyUsername 2y agoYes so I see your point, it'd need a pre-sort by height which is a double iteration of the arrays.
- soegaard 2y ago> 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?
- deleted 2y ago[deleted]