Sorting points in clockwise/counter-clockwise order

Правка en1, от EternalFire, 2018-11-29 17:54:19

How to sort points in clockwise/counter-clockwise order efficiently? I use atan2 to get angle created by Ox axis and point but it seems slow and sometimes it causes precision error. Appreciate for any help.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский EternalFire 2018-11-29 17:54:19 257 Initial revision (published)