Takes a Polygon object and applies Chaikin's smoothing algorithm on its points.
name | type | description |
---|---|---|
polygon | Phaser.Geom.Polygon |
The polygon to be smoothed. The polygon will be modified in-place and returned. |
The input polygon.