C# Class ClipperHelper, Unity-2D-Destruction

Mostrar archivo Open project: mjholtzem/Unity-2D-Destruction Class Usage Examples

Public Methods

Method Description
clip ( List boundary, List region ) : List>
clip ( List boundary, Triangle piece ) : List>

Private Methods

Method Description
createPolygons ( List source ) : System.Collections.Generic.List>
createPolygons ( Triangle tri ) : System.Collections.Generic.List>

Method Details

clip() public static method

public static clip ( List boundary, List region ) : List>
boundary List
region List
return List>

clip() public static method

public static clip ( List boundary, Triangle piece ) : List>
boundary List
piece Triangle
return List>