Sorts raycast intersections so that the sprites of the measure lines come first, then their anchors, then their segments; the others as seen (the higher layer first, then the nearest).
The first intersection to compare.
The second intersection to compare.
A negative number if a should come first, positive if b should, 0 if tied.
a
b
Sorts raycast intersections so that the sprites of the measure lines come first, then their anchors, then their segments; the others as seen (the higher layer first, then the nearest).