mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
ce32d492af
Polygon.area is now only calculated when the Polygon points list is modified, rather than on every call. Phaser.Polygon can now accept the points list in a variety of formats: Arrays of Points, numbers, objects with public x/y properties or any combination of, or as a parameter list (thanks @pnstickne for the original implementation #1267) Polygon.contains now correctly calculates the result (thanks @pnstickne @BurnedToast #1267) |
||
---|---|---|
.. | ||
custom | ||
config.php | ||
phaser.d.ts | ||
phaser.js | ||
phaser.map | ||
phaser.min.js |