Replaced the algorithm for building the hedge sort buffer in buildSegsFromHEdges with one which traverses the BSP and builds the index as it goes. This will ultimately be a lot quicker as it means that we can use the spatial information to speed up the sort.
Replaced the algorithm for building the hedge sort buffer in buildSegsFromHEdges with one which traverses the BSP and builds the index as it goes. This will ultimately be a lot quicker as it means that we can use the spatial information to speed up the sort.