{"action":"created","issue":{"url":"https://api.github.com/repos/RandyGaul/tinyheaders/issues/88","repository_url":"https://api.github.com/repos/RandyGaul/tinyheaders","labels_url":"https://api.github.com/repos/RandyGaul/tinyheaders/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/RandyGaul/tinyheaders/issues/88/comments","events_url":"https://api.github.com/repos/RandyGaul/tinyheaders/issues/88/events","html_url":"https://github.com/RandyGaul/tinyheaders/issues/88","id":310308186,"number":88,"title":"tinytiled: Example to index each vert of a polygon","user":{"login":"selimanac","id":1324635,"avatar_url":"https://avatars0.githubusercontent.com/u/1324635?v=4","gravatar_id":"","url":"https://api.github.com/users/selimanac","html_url":"https://github.com/selimanac","followers_url":"https://api.github.com/users/selimanac/followers","following_url":"https://api.github.com/users/selimanac/following{/other_user}","gists_url":"https://api.github.com/users/selimanac/gists{/gist_id}","starred_url":"https://api.github.com/users/selimanac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selimanac/subscriptions","organizations_url":"https://api.github.com/users/selimanac/orgs","repos_url":"https://api.github.com/users/selimanac/repos","events_url":"https://api.github.com/users/selimanac/events{/privacy}","received_events_url":"https://api.github.com/users/selimanac/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"RandyGaul","id":1919825,"avatar_url":"https://avatars1.githubusercontent.com/u/1919825?v=4","gravatar_id":"","url":"https://api.github.com/users/RandyGaul","html_url":"https://github.com/RandyGaul","followers_url":"https://api.github.com/users/RandyGaul/followers","following_url":"https://api.github.com/users/RandyGaul/following{/other_user}","gists_url":"https://api.github.com/users/RandyGaul/gists{/gist_id}","starred_url":"https://api.github.com/users/RandyGaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandyGaul/subscriptions","organizations_url":"https://api.github.com/users/RandyGaul/orgs","repos_url":"https://api.github.com/users/RandyGaul/repos","events_url":"https://api.github.com/users/RandyGaul/events{/privacy}","received_events_url":"https://api.github.com/users/RandyGaul/received_events","type":"User","site_admin":false},"assignees":[{"login":"RandyGaul","id":1919825,"avatar_url":"https://avatars1.githubusercontent.com/u/1919825?v=4","gravatar_id":"","url":"https://api.github.com/users/RandyGaul","html_url":"https://github.com/RandyGaul","followers_url":"https://api.github.com/users/RandyGaul/followers","following_url":"https://api.github.com/users/RandyGaul/following{/other_user}","gists_url":"https://api.github.com/users/RandyGaul/gists{/gist_id}","starred_url":"https://api.github.com/users/RandyGaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandyGaul/subscriptions","organizations_url":"https://api.github.com/users/RandyGaul/orgs","repos_url":"https://api.github.com/users/RandyGaul/repos","events_url":"https://api.github.com/users/RandyGaul/events{/privacy}","received_events_url":"https://api.github.com/users/RandyGaul/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-01T08:39:54Z","updated_at":"2018-04-01T21:49:38Z","closed_at":"2018-04-01T21:49:38Z","author_association":"NONE","body":"Since vert_count return total number of polygons, increasing i += 2 cause the loop end earlier.  This is not a big deal of course but it should be something like this:\r\n\r\n```cpp\r\nfloat x, y;\r\nint a = 0;\r\nfor (int i = 0; i < o->vert_count; i++)\r\n{\t\t\r\n x = o->vertices[a];\r\n y = o->vertices[a + 1];\r\n printf(\"%f, %f\\n\", x, y);\t\t\r\n a += 2;\t\r\n}\r\n```\r\n\r\nhttps://github.com/RandyGaul/tinyheaders/blob/769766b8ce833712377c639fc9005ce6a72ce0b7/tinytiled.h#L168"},"comment":{"url":"https://api.github.com/repos/RandyGaul/tinyheaders/issues/comments/377819392","html_url":"https://github.com/RandyGaul/tinyheaders/issues/88#issuecomment-377819392","issue_url":"https://api.github.com/repos/RandyGaul/tinyheaders/issues/88","id":377819392,"user":{"login":"RandyGaul","id":1919825,"avatar_url":"https://avatars1.githubusercontent.com/u/1919825?v=4","gravatar_id":"","url":"https://api.github.com/users/RandyGaul","html_url":"https://github.com/RandyGaul","followers_url":"https://api.github.com/users/RandyGaul/followers","following_url":"https://api.github.com/users/RandyGaul/following{/other_user}","gists_url":"https://api.github.com/users/RandyGaul/gists{/gist_id}","starred_url":"https://api.github.com/users/RandyGaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RandyGaul/subscriptions","organizations_url":"https://api.github.com/users/RandyGaul/orgs","repos_url":"https://api.github.com/users/RandyGaul/repos","events_url":"https://api.github.com/users/RandyGaul/events{/privacy}","received_events_url":"https://api.github.com/users/RandyGaul/received_events","type":"User","site_admin":false},"created_at":"2018-04-01T21:49:38Z","updated_at":"2018-04-01T21:49:38Z","author_association":"OWNER","body":"Good catch! Thank you very much :)\r\n\r\nhttps://github.com/RandyGaul/tinyheaders/commit/6075d2255c017a68b6665698af3318c79af12019"}}
{"actor":{"display_login":"RandyGaul"}}