{"action":"created","comment":{"url":"https://api.github.com/repos/rokups/Urho3D/pulls/comments/239509988","pull_request_review_id":182313156,"id":239509988,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTUwOTk4OA==","diff_hunk":"@@ -112,6 +112,19 @@ inline T Clamp(T value, T min, T max)\n     else\r\n         return value;\r\n }\r\n+\n+/// Wrap a number within a range. min and max are included as valid values.\r\n+/// values are wrapped to include the min and max. eg: for (value == 5, min == 1, max == 4) result would be 1. For value == 0, result would be 4.\r\n+int Wrap(int value, int min, int max);\r","path":"Source/Urho3D/Math/MathDefs.h","position":7,"original_position":7,"commit_id":"2a8aba79a500a5fd1a1f3d9b0424cca0685972d4","original_commit_id":"1415deb2d61bfb3dfd8fd1914132bb09691bdf28","user":{"login":"TrevorCash","id":2559371,"node_id":"MDQ6VXNlcjI1NTkzNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/2559371?v=4","gravatar_id":"","url":"https://api.github.com/users/TrevorCash","html_url":"https://github.com/TrevorCash","followers_url":"https://api.github.com/users/TrevorCash/followers","following_url":"https://api.github.com/users/TrevorCash/following{/other_user}","gists_url":"https://api.github.com/users/TrevorCash/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorCash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorCash/subscriptions","organizations_url":"https://api.github.com/users/TrevorCash/orgs","repos_url":"https://api.github.com/users/TrevorCash/repos","events_url":"https://api.github.com/users/TrevorCash/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorCash/received_events","type":"User","site_admin":false},"body":"I think I used this in some debug rendering code or something - not strictly necessary though your are right. ","created_at":"2018-12-06T16:02:50Z","updated_at":"2018-12-06T16:02:51Z","html_url":"https://github.com/rokups/Urho3D/pull/58#discussion_r239509988","pull_request_url":"https://api.github.com/repos/rokups/Urho3D/pulls/58","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/rokups/Urho3D/pulls/comments/239509988"},"html":{"href":"https://github.com/rokups/Urho3D/pull/58#discussion_r239509988"},"pull_request":{"href":"https://api.github.com/repos/rokups/Urho3D/pulls/58"}},"in_reply_to_id":238187649},"pull_request":{"url":"https://api.github.com/repos/rokups/Urho3D/pulls/58","id":235272811,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MjcyODEx","html_url":"https://github.com/rokups/Urho3D/pull/58","diff_url":"https://github.com/rokups/Urho3D/pull/58.diff","patch_url":"https://github.com/rokups/Urho3D/pull/58.patch","issue_url":"https://api.github.com/repos/rokups/Urho3D/issues/58","number":58,"state":"open","locked":false,"title":"Ongoing NewtonGameDynamics  Integration","user":{"login":"TrevorCash","id":2559371,"node_id":"MDQ6VXNlcjI1NTkzNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/2559371?v=4","gravatar_id":"","url":"https://api.github.com/users/TrevorCash","html_url":"https://github.com/TrevorCash","followers_url":"https://api.github.com/users/TrevorCash/followers","following_url":"https://api.github.com/users/TrevorCash/following{/other_user}","gists_url":"https://api.github.com/users/TrevorCash/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorCash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorCash/subscriptions","organizations_url":"https://api.github.com/users/TrevorCash/orgs","repos_url":"https://api.github.com/users/TrevorCash/repos","events_url":"https://api.github.com/users/TrevorCash/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorCash/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-02T17:34:42Z","updated_at":"2018-12-06T16:02:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"943dce72427e3c6a6d268ee2c47cbae9cfab3d5c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rokups/Urho3D/pulls/58/commits","review_comments_url":"https://api.github.com/repos/rokups/Urho3D/pulls/58/comments","review_comment_url":"https://api.github.com/repos/rokups/Urho3D/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rokups/Urho3D/issues/58/comments","statuses_url":"https://api.github.com/repos/rokups/Urho3D/statuses/2a8aba79a500a5fd1a1f3d9b0424cca0685972d4","head":{"label":"TrevorCash:NewtonInteration","ref":"NewtonInteration","sha":"2a8aba79a500a5fd1a1f3d9b0424cca0685972d4","user":{"login":"TrevorCash","id":2559371,"node_id":"MDQ6VXNlcjI1NTkzNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/2559371?v=4","gravatar_id":"","url":"https://api.github.com/users/TrevorCash","html_url":"https://github.com/TrevorCash","followers_url":"https://api.github.com/users/TrevorCash/followers","following_url":"https://api.github.com/users/TrevorCash/following{/other_user}","gists_url":"https://api.github.com/users/TrevorCash/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorCash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorCash/subscriptions","organizations_url":"https://api.github.com/users/TrevorCash/orgs","repos_url":"https://api.github.com/users/TrevorCash/repos","events_url":"https://api.github.com/users/TrevorCash/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorCash/received_events","type":"User","site_admin":false},"repo":{"id":132252241,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyNTIyNDE=","name":"Urho3D","full_name":"TrevorCash/Urho3D","private":false,"owner":{"login":"TrevorCash","id":2559371,"node_id":"MDQ6VXNlcjI1NTkzNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/2559371?v=4","gravatar_id":"","url":"https://api.github.com/users/TrevorCash","html_url":"https://github.com/TrevorCash","followers_url":"https://api.github.com/users/TrevorCash/followers","following_url":"https://api.github.com/users/TrevorCash/following{/other_user}","gists_url":"https://api.github.com/users/TrevorCash/gists{/gist_id}","starred_url":"https://api.github.com/users/TrevorCash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrevorCash/subscriptions","organizations_url":"https://api.github.com/users/TrevorCash/orgs","repos_url":"https://api.github.com/users/TrevorCash/repos","events_url":"https://api.github.com/users/TrevorCash/events{/privacy}","received_events_url":"https://api.github.com/users/TrevorCash/received_events","type":"User","site_admin":false},"html_url":"https://github.com/TrevorCash/Urho3D","description":"[Unofficial] Urho3D on steroids. Fork focused on code first.","fork":true,"url":"https://api.github.com/repos/TrevorCash/Urho3D","forks_url":"https://api.github.com/repos/TrevorCash/Urho3D/forks","keys_url":"https://api.github.com/repos/TrevorCash/Urho3D/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TrevorCash/Urho3D/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TrevorCash/Urho3D/teams","hooks_url":"https://api.github.com/repos/TrevorCash/Urho3D/hooks","issue_events_url":"https://api.github.com/repos/TrevorCash/Urho3D/issues/events{/number}","events_url":"https://api.github.com/repos/TrevorCash/Urho3D/events","assignees_url":"https://api.github.com/repos/TrevorCash/Urho3D/assignees{/user}","branches_url":"https://api.github.com/repos/TrevorCash/Urho3D/branches{/branch}","tags_url":"https://api.github.com/repos/TrevorCash/Urho3D/tags","blobs_url":"https://api.github.com/repos/TrevorCash/Urho3D/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TrevorCash/Urho3D/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TrevorCash/Urho3D/git/refs{/sha}","trees_url":"https://api.github.com/repos/TrevorCash/Urho3D/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TrevorCash/Urho3D/statuses/{sha}","languages_url":"https://api.github.com/repos/TrevorCash/Urho3D/languages","stargazers_url":"https://api.github.com/repos/TrevorCash/Urho3D/stargazers","contributors_url":"https://api.github.com/repos/TrevorCash/Urho3D/contributors","subscribers_url":"https://api.github.com/repos/TrevorCash/Urho3D/subscribers","subscription_url":"https://api.github.com/repos/TrevorCash/Urho3D/subscription","commits_url":"https://api.github.com/repos/TrevorCash/Urho3D/commits{/sha}","git_commits_url":"https://api.github.com/repos/TrevorCash/Urho3D/git/commits{/sha}","comments_url":"https://api.github.com/repos/TrevorCash/Urho3D/comments{/number}","issue_comment_url":"https://api.github.com/repos/TrevorCash/Urho3D/issues/comments{/number}","contents_url":"https://api.github.com/repos/TrevorCash/Urho3D/contents/{+path}","compare_url":"https://api.github.com/repos/TrevorCash/Urho3D/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TrevorCash/Urho3D/merges","archive_url":"https://api.github.com/repos/TrevorCash/Urho3D/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TrevorCash/Urho3D/downloads","issues_url":"https://api.github.com/repos/TrevorCash/Urho3D/issues{/number}","pulls_url":"https://api.github.com/repos/TrevorCash/Urho3D/pulls{/number}","milestones_url":"https://api.github.com/repos/TrevorCash/Urho3D/milestones{/number}","notifications_url":"https://api.github.com/repos/TrevorCash/Urho3D/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TrevorCash/Urho3D/labels{/name}","releases_url":"https://api.github.com/repos/TrevorCash/Urho3D/releases{/id}","deployments_url":"https://api.github.com/repos/TrevorCash/Urho3D/deployments","created_at":"2018-05-05T13:52:04Z","updated_at":"2018-11-08T16:22:28Z","pushed_at":"2018-12-03T13:37:26Z","git_url":"git://github.com/TrevorCash/Urho3D.git","ssh_url":"git@github.com:TrevorCash/Urho3D.git","clone_url":"https://github.com/TrevorCash/Urho3D.git","svn_url":"https://github.com/TrevorCash/Urho3D","homepage":"","size":230185,"stargazers_count":3,"watchers_count":3,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"rokups:master","ref":"master","sha":"56075431ce9ecaff8601e020b927eeba0c0b1edf","user":{"login":"rokups","id":19151258,"node_id":"MDQ6VXNlcjE5MTUxMjU4","avatar_url":"https://avatars2.githubusercontent.com/u/19151258?v=4","gravatar_id":"","url":"https://api.github.com/users/rokups","html_url":"https://github.com/rokups","followers_url":"https://api.github.com/users/rokups/followers","following_url":"https://api.github.com/users/rokups/following{/other_user}","gists_url":"https://api.github.com/users/rokups/gists{/gist_id}","starred_url":"https://api.github.com/users/rokups/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokups/subscriptions","organizations_url":"https://api.github.com/users/rokups/orgs","repos_url":"https://api.github.com/users/rokups/repos","events_url":"https://api.github.com/users/rokups/events{/privacy}","received_events_url":"https://api.github.com/users/rokups/received_events","type":"User","site_admin":false},"repo":{"id":54325713,"node_id":"MDEwOlJlcG9zaXRvcnk1NDMyNTcxMw==","name":"Urho3D","full_name":"rokups/Urho3D","private":false,"owner":{"login":"rokups","id":19151258,"node_id":"MDQ6VXNlcjE5MTUxMjU4","avatar_url":"https://avatars2.githubusercontent.com/u/19151258?v=4","gravatar_id":"","url":"https://api.github.com/users/rokups","html_url":"https://github.com/rokups","followers_url":"https://api.github.com/users/rokups/followers","following_url":"https://api.github.com/users/rokups/following{/other_user}","gists_url":"https://api.github.com/users/rokups/gists{/gist_id}","starred_url":"https://api.github.com/users/rokups/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokups/subscriptions","organizations_url":"https://api.github.com/users/rokups/orgs","repos_url":"https://api.github.com/users/rokups/repos","events_url":"https://api.github.com/users/rokups/events{/privacy}","received_events_url":"https://api.github.com/users/rokups/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rokups/Urho3D","description":"[Unofficial] Urho3D on steroids. C#/ImGui/Editor. Heavily WIP.","fork":false,"url":"https://api.github.com/repos/rokups/Urho3D","forks_url":"https://api.github.com/repos/rokups/Urho3D/forks","keys_url":"https://api.github.com/repos/rokups/Urho3D/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rokups/Urho3D/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rokups/Urho3D/teams","hooks_url":"https://api.github.com/repos/rokups/Urho3D/hooks","issue_events_url":"https://api.github.com/repos/rokups/Urho3D/issues/events{/number}","events_url":"https://api.github.com/repos/rokups/Urho3D/events","assignees_url":"https://api.github.com/repos/rokups/Urho3D/assignees{/user}","branches_url":"https://api.github.com/repos/rokups/Urho3D/branches{/branch}","tags_url":"https://api.github.com/repos/rokups/Urho3D/tags","blobs_url":"https://api.github.com/repos/rokups/Urho3D/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rokups/Urho3D/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rokups/Urho3D/git/refs{/sha}","trees_url":"https://api.github.com/repos/rokups/Urho3D/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rokups/Urho3D/statuses/{sha}","languages_url":"https://api.github.com/repos/rokups/Urho3D/languages","stargazers_url":"https://api.github.com/repos/rokups/Urho3D/stargazers","contributors_url":"https://api.github.com/repos/rokups/Urho3D/contributors","subscribers_url":"https://api.github.com/repos/rokups/Urho3D/subscribers","subscription_url":"https://api.github.com/repos/rokups/Urho3D/subscription","commits_url":"https://api.github.com/repos/rokups/Urho3D/commits{/sha}","git_commits_url":"https://api.github.com/repos/rokups/Urho3D/git/commits{/sha}","comments_url":"https://api.github.com/repos/rokups/Urho3D/comments{/number}","issue_comment_url":"https://api.github.com/repos/rokups/Urho3D/issues/comments{/number}","contents_url":"https://api.github.com/repos/rokups/Urho3D/contents/{+path}","compare_url":"https://api.github.com/repos/rokups/Urho3D/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rokups/Urho3D/merges","archive_url":"https://api.github.com/repos/rokups/Urho3D/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rokups/Urho3D/downloads","issues_url":"https://api.github.com/repos/rokups/Urho3D/issues{/number}","pulls_url":"https://api.github.com/repos/rokups/Urho3D/pulls{/number}","milestones_url":"https://api.github.com/repos/rokups/Urho3D/milestones{/number}","notifications_url":"https://api.github.com/repos/rokups/Urho3D/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rokups/Urho3D/labels{/name}","releases_url":"https://api.github.com/repos/rokups/Urho3D/releases{/id}","deployments_url":"https://api.github.com/repos/rokups/Urho3D/deployments","created_at":"2016-03-20T15:41:18Z","updated_at":"2018-12-06T15:13:22Z","pushed_at":"2018-12-06T15:13:18Z","git_url":"git://github.com/rokups/Urho3D.git","ssh_url":"git@github.com:rokups/Urho3D.git","clone_url":"https://github.com/rokups/Urho3D.git","svn_url":"https://github.com/rokups/Urho3D","homepage":"","size":194589,"stargazers_count":45,"watchers_count":45,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":7,"open_issues":13,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rokups/Urho3D/pulls/58"},"html":{"href":"https://github.com/rokups/Urho3D/pull/58"},"issue":{"href":"https://api.github.com/repos/rokups/Urho3D/issues/58"},"comments":{"href":"https://api.github.com/repos/rokups/Urho3D/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/rokups/Urho3D/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/rokups/Urho3D/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rokups/Urho3D/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/rokups/Urho3D/statuses/2a8aba79a500a5fd1a1f3d9b0424cca0685972d4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"TrevorCash"}}