{"action":"closed","issue":{"url":"https://api.github.com/repos/GMartigny/pencil.js/issues/10","repository_url":"https://api.github.com/repos/GMartigny/pencil.js","labels_url":"https://api.github.com/repos/GMartigny/pencil.js/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/GMartigny/pencil.js/issues/10/comments","events_url":"https://api.github.com/repos/GMartigny/pencil.js/issues/10/events","html_url":"https://github.com/GMartigny/pencil.js/issues/10","id":309701910,"number":10,"title":"Detection of points inside polygon doesn't work","user":{"login":"GMartigny","id":2543511,"avatar_url":"https://avatars3.githubusercontent.com/u/2543511?v=4","gravatar_id":"","url":"https://api.github.com/users/GMartigny","html_url":"https://github.com/GMartigny","followers_url":"https://api.github.com/users/GMartigny/followers","following_url":"https://api.github.com/users/GMartigny/following{/other_user}","gists_url":"https://api.github.com/users/GMartigny/gists{/gist_id}","starred_url":"https://api.github.com/users/GMartigny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GMartigny/subscriptions","organizations_url":"https://api.github.com/users/GMartigny/orgs","repos_url":"https://api.github.com/users/GMartigny/repos","events_url":"https://api.github.com/users/GMartigny/events{/privacy}","received_events_url":"https://api.github.com/users/GMartigny/received_events","type":"User","site_admin":false},"labels":[{"id":839994359,"url":"https://api.github.com/repos/GMartigny/pencil.js/labels/:bug:%20bug","name":":bug: bug","color":"d73a4a","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/GMartigny/pencil.js/milestones/1","html_url":"https://github.com/GMartigny/pencil.js/milestone/1","labels_url":"https://api.github.com/repos/GMartigny/pencil.js/milestones/1/labels","id":3172205,"number":1,"title":"v1.0.0","description":"First public release","creator":{"login":"GMartigny","id":2543511,"avatar_url":"https://avatars3.githubusercontent.com/u/2543511?v=4","gravatar_id":"","url":"https://api.github.com/users/GMartigny","html_url":"https://github.com/GMartigny","followers_url":"https://api.github.com/users/GMartigny/followers","following_url":"https://api.github.com/users/GMartigny/following{/other_user}","gists_url":"https://api.github.com/users/GMartigny/gists{/gist_id}","starred_url":"https://api.github.com/users/GMartigny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GMartigny/subscriptions","organizations_url":"https://api.github.com/users/GMartigny/orgs","repos_url":"https://api.github.com/users/GMartigny/repos","events_url":"https://api.github.com/users/GMartigny/events{/privacy}","received_events_url":"https://api.github.com/users/GMartigny/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":4,"state":"open","created_at":"2018-03-08T17:41:05Z","updated_at":"2018-05-09T17:00:12Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-03-29T10:27:20Z","updated_at":"2018-05-09T17:00:12Z","closed_at":"2018-05-09T17:00:12Z","author_association":"OWNER","body":"#### Infos\r\nYour current navigator: Chrome v65\r\nThe package you used: @pencil.js/polygon\r\n\r\n#### Description\r\nThe ``ishover`` method always return false.\r\nIt use the [Ray casting algorythm](https://www.wikiwand.com/en/Point_in_polygon#/Ray_casting_algorithm) using Vector class.\r\nBut according to test ``Vector.prototype.intersect`` is working.\r\n\r\n#### Reproduce by\r\n```js\r\nconst poly = new Polygon(points, {\r\n\tcursor: \"crosshair\", // The cursor will never change\r\n});\r\n```\r\n"}}
{"actor":{"display_login":"GMartigny"}}