Good afternoon,
I need an algorithm to sort the vertices of a polygon in an anticlockwise order. I know it's rather simple (everything is!) but I get confused every time I try to do it.
C code or pseudocode would be fine.
Thanks,
Duetti
Good afternoon,
I need an algorithm to sort the vertices of a polygon in an anticlockwise order. I know it's rather simple (everything is!) but I get confused every time I try to do it.
C code or pseudocode would be fine.
Thanks,
Duetti