unity3d - Sorting array of points in clockwise order -


is there such algorithm sort array of 3d points in clockwise order? i'm dealing right triangle in case 3 points. (for build mesh)

the algorithm sorting not difficult. problem is, plane points lie on. , side facing

only bunch of points cannot clockwise or counter clockwise itself. need plane , side reference point

edit : used said bit inaccurate. need position , direction reference, not plane


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

java - Log4j2 configuration not found when running standalone application builded by shade plugin -

python - How do I create a list index that loops through integers in another list -