C# Class NobleMuffins.MuffinSlicer.Triangulation

Mostra file Open project: VirsixInc/CatapultKing

Public Methods

Method Description
triangulate ( Vector2 contour, int &result ) : bool

Private Methods

Method Description
Area ( Vector2 contour ) : float
InsideTriangle ( float Ax, float Ay, float Bx, float By, float Cx, float Cy, float Px, float Py ) : bool
Snip ( Vector2 contour, int u, int v, int w, int n, int V ) : bool

Method Details

triangulate() public static method

public static triangulate ( Vector2 contour, int &result ) : bool
contour UnityEngine.Vector2
result int
return bool