arcade-physics
Version:
Use Arcade Physics without Phaser.
20 lines • 616 B
TypeScript
export default Reverse;
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Reverses the order of the points of a Polygon.
*
* @function Phaser.Geom.Polygon.Reverse
* @since 3.0.0
*
* @generic {Phaser.Geom.Polygon} O - [polygon,$return]
*
* @param {Phaser.Geom.Polygon} polygon - The Polygon to modify.
*
* @return {Phaser.Geom.Polygon} The modified Polygon.
*/
declare function Reverse(polygon: Phaser.Geom.Polygon): Phaser.Geom.Polygon;
//# sourceMappingURL=Reverse.d.ts.map