"It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration."
- Edsger Dijkstra

Updated Interior Mapping demo
Friday, August 15, 2008 | Permalink

I've added a small optimization to the Interior Mapping demo that boosts performance by about 80% in the default position. I didn't sort the buildings before, and as it turns out, the default position had them drawn more or less in the worst case order. A few lines of code to sort buildings by distance and it's now running a lot faster.

[ 5 comments | Last comment by Jan (2008-09-07 13:22:03) ]