Method FlipVerticesInBounds
FlipVerticesInBounds(IList<Vector2>, Rect)
Flip the vertices (in-place) inside their axis-aligned bounding-box.
Declaration
public static void FlipVerticesInBounds(IList<Vector2> vertices, Rect bounds)
Parameters
Type | Name | Description |
---|---|---|
IList<Vector2> | vertices | The vertices to realign |
Rect | bounds | The bounds into which the vertices will be realigned |