anyone know an efficient algorithm to determine which of n sectors a vector is? the most obvious case being 4 sectors, so simply the quadrants of a circle, but preferably for any number of sectors
I have the feeling there is a very elegant trigonometry trick I'm missing here ;-)