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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -