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' -

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

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -