Skip to content

Commit

Permalink
Fixed Polygon.contains for coordinates to the left of the polygon (th…
Browse files Browse the repository at this point in the history
…anks @vilcans, fix #766)
  • Loading branch information
photonstorm committed Apr 27, 2014
1 parent 2cba2a0 commit 7a64f53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ Version 2.0.4 - "Mos Shirare" - in development
* Game checks if window.console exists before using it (should fix IE9 issues when dev tools are closed), however it is still used deeper in Pixi.
* Masks now work when used in RenderTextures / CacheAsBitmap and Filters (pixi.js update)
* Fixed bug where stroked text sometimes got clipped (pixi.js update)
* Fixed Polygon.contains for coordinates to the left of the polygon (thanks @vilcans, fix #766)


### ToDo
Expand Down
2 changes: 1 addition & 1 deletion src/geom/Polygon.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Phaser.Polygon.prototype = {

if (intersect)
{
inside = true;
inside = !inside;
}
}

Expand Down

0 comments on commit 7a64f53

Please sign in to comment.