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
Post a Comment