{"action":"created","comment":{"url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/comments/90394329","pull_request_review_id":10912077,"id":90394329,"diff_hunk":"@@ -1,21 +1,18 @@\n #include \"Quad.h\"\r\n \r\n-float Quad::easeIn (float t,float b , float c, float d) {\r\n-\treturn c*(t/=d)*t + b;\r\n+float Quad::easeIn (float t, float b, float c, float d) {\r\n+\tt /= d;\r\n+\treturn c * t * t + b;\r\n }\r\n-float Quad::easeOut(float t,float b , float c, float d) {\r\n-\treturn -c *(t/=d)*(t-2) + b;\r\n+\r\n+float Quad::easeOut(float t, float b, float c, float d) {\r\n+\tt /= d;\r\n+\treturn -c * t * (t - 2) + b;\r\n }\r\n \r\n-float Quad::easeInOut(float t,float b , float c, float d) {\r\n+float Quad::easeInOut(float t, float b, float c, float d) {\r\n \tif ((t/=d/2) < 1) return ((c/2)*(t*t)) + b;\r\n-\treturn -c/2 * (((t-2)*(--t)) - 1) + b;\r\n-\t/*\r\n-\toriginally return -c/2 * (((t-2)*(--t)) - 1) + b;\r\n-\t\r\n-\tI've had to swap (--t)*(t-2) due to diffence in behaviour in \r\n-\tpre-increment operators between java and c++, after hours\r\n-\tof joy\r","path":"PennerEasing/Quad.cpp","position":26,"original_position":26,"commit_id":"0f68b03cc5b90e7825e83a6ef3e49eda2661c428","original_commit_id":"0f68b03cc5b90e7825e83a6ef3e49eda2661c428","user":{"login":"wowiwouldkillmyself","id":24288969,"avatar_url":"https://avatars.githubusercontent.com/u/24288969?v=3","gravatar_id":"","url":"https://api.github.com/users/wowiwouldkillmyself","html_url":"https://github.com/wowiwouldkillmyself","followers_url":"https://api.github.com/users/wowiwouldkillmyself/followers","following_url":"https://api.github.com/users/wowiwouldkillmyself/following{/other_user}","gists_url":"https://api.github.com/users/wowiwouldkillmyself/gists{/gist_id}","starred_url":"https://api.github.com/users/wowiwouldkillmyself/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wowiwouldkillmyself/subscriptions","organizations_url":"https://api.github.com/users/wowiwouldkillmyself/orgs","repos_url":"https://api.github.com/users/wowiwouldkillmyself/repos","events_url":"https://api.github.com/users/wowiwouldkillmyself/events{/privacy}","received_events_url":"https://api.github.com/users/wowiwouldkillmyself/received_events","type":"User","site_admin":false},"body":"seriously","created_at":"2016-12-01T07:20:20Z","updated_at":"2016-12-01T07:20:20Z","html_url":"https://github.com/jesusgollonet/ofpennereasing/pull/2#discussion_r90394329","pull_request_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/comments/90394329"},"html":{"href":"https://github.com/jesusgollonet/ofpennereasing/pull/2#discussion_r90394329"},"pull_request":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/2","id":90498053,"html_url":"https://github.com/jesusgollonet/ofpennereasing/pull/2","diff_url":"https://github.com/jesusgollonet/ofpennereasing/pull/2.diff","patch_url":"https://github.com/jesusgollonet/ofpennereasing/pull/2.patch","issue_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/issues/2","number":2,"state":"open","locked":false,"title":"Undefined behviour fixes, small refactoring","user":{"login":"Ravirael","id":11671516,"avatar_url":"https://avatars.githubusercontent.com/u/11671516?v=3","gravatar_id":"","url":"https://api.github.com/users/Ravirael","html_url":"https://github.com/Ravirael","followers_url":"https://api.github.com/users/Ravirael/followers","following_url":"https://api.github.com/users/Ravirael/following{/other_user}","gists_url":"https://api.github.com/users/Ravirael/gists{/gist_id}","starred_url":"https://api.github.com/users/Ravirael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ravirael/subscriptions","organizations_url":"https://api.github.com/users/Ravirael/orgs","repos_url":"https://api.github.com/users/Ravirael/repos","events_url":"https://api.github.com/users/Ravirael/events{/privacy}","received_events_url":"https://api.github.com/users/Ravirael/received_events","type":"User","site_admin":false},"body":"Not sure if everything is 100% correct. I will commit any found bugs.\n","created_at":"2016-10-22T22:41:24Z","updated_at":"2016-12-01T07:20:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08772bf63c2833ee52f1ff0da3a020a1035edd83","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/2/commits","review_comments_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/2/comments","review_comment_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/issues/2/comments","statuses_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/statuses/0f68b03cc5b90e7825e83a6ef3e49eda2661c428","head":{"label":"Ravirael:master","ref":"master","sha":"0f68b03cc5b90e7825e83a6ef3e49eda2661c428","user":{"login":"Ravirael","id":11671516,"avatar_url":"https://avatars.githubusercontent.com/u/11671516?v=3","gravatar_id":"","url":"https://api.github.com/users/Ravirael","html_url":"https://github.com/Ravirael","followers_url":"https://api.github.com/users/Ravirael/followers","following_url":"https://api.github.com/users/Ravirael/following{/other_user}","gists_url":"https://api.github.com/users/Ravirael/gists{/gist_id}","starred_url":"https://api.github.com/users/Ravirael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ravirael/subscriptions","organizations_url":"https://api.github.com/users/Ravirael/orgs","repos_url":"https://api.github.com/users/Ravirael/repos","events_url":"https://api.github.com/users/Ravirael/events{/privacy}","received_events_url":"https://api.github.com/users/Ravirael/received_events","type":"User","site_admin":false},"repo":{"id":71666343,"name":"ofpennereasing","full_name":"Ravirael/ofpennereasing","owner":{"login":"Ravirael","id":11671516,"avatar_url":"https://avatars.githubusercontent.com/u/11671516?v=3","gravatar_id":"","url":"https://api.github.com/users/Ravirael","html_url":"https://github.com/Ravirael","followers_url":"https://api.github.com/users/Ravirael/followers","following_url":"https://api.github.com/users/Ravirael/following{/other_user}","gists_url":"https://api.github.com/users/Ravirael/gists{/gist_id}","starred_url":"https://api.github.com/users/Ravirael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ravirael/subscriptions","organizations_url":"https://api.github.com/users/Ravirael/orgs","repos_url":"https://api.github.com/users/Ravirael/repos","events_url":"https://api.github.com/users/Ravirael/events{/privacy}","received_events_url":"https://api.github.com/users/Ravirael/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ravirael/ofpennereasing","description":"a port of penner's easing equations to c++, with an openframeworks usage example","fork":true,"url":"https://api.github.com/repos/Ravirael/ofpennereasing","forks_url":"https://api.github.com/repos/Ravirael/ofpennereasing/forks","keys_url":"https://api.github.com/repos/Ravirael/ofpennereasing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ravirael/ofpennereasing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ravirael/ofpennereasing/teams","hooks_url":"https://api.github.com/repos/Ravirael/ofpennereasing/hooks","issue_events_url":"https://api.github.com/repos/Ravirael/ofpennereasing/issues/events{/number}","events_url":"https://api.github.com/repos/Ravirael/ofpennereasing/events","assignees_url":"https://api.github.com/repos/Ravirael/ofpennereasing/assignees{/user}","branches_url":"https://api.github.com/repos/Ravirael/ofpennereasing/branches{/branch}","tags_url":"https://api.github.com/repos/Ravirael/ofpennereasing/tags","blobs_url":"https://api.github.com/repos/Ravirael/ofpennereasing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ravirael/ofpennereasing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ravirael/ofpennereasing/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ravirael/ofpennereasing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ravirael/ofpennereasing/statuses/{sha}","languages_url":"https://api.github.com/repos/Ravirael/ofpennereasing/languages","stargazers_url":"https://api.github.com/repos/Ravirael/ofpennereasing/stargazers","contributors_url":"https://api.github.com/repos/Ravirael/ofpennereasing/contributors","subscribers_url":"https://api.github.com/repos/Ravirael/ofpennereasing/subscribers","subscription_url":"https://api.github.com/repos/Ravirael/ofpennereasing/subscription","commits_url":"https://api.github.com/repos/Ravirael/ofpennereasing/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ravirael/ofpennereasing/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ravirael/ofpennereasing/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ravirael/ofpennereasing/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ravirael/ofpennereasing/contents/{+path}","compare_url":"https://api.github.com/repos/Ravirael/ofpennereasing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ravirael/ofpennereasing/merges","archive_url":"https://api.github.com/repos/Ravirael/ofpennereasing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ravirael/ofpennereasing/downloads","issues_url":"https://api.github.com/repos/Ravirael/ofpennereasing/issues{/number}","pulls_url":"https://api.github.com/repos/Ravirael/ofpennereasing/pulls{/number}","milestones_url":"https://api.github.com/repos/Ravirael/ofpennereasing/milestones{/number}","notifications_url":"https://api.github.com/repos/Ravirael/ofpennereasing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ravirael/ofpennereasing/labels{/name}","releases_url":"https://api.github.com/repos/Ravirael/ofpennereasing/releases{/id}","deployments_url":"https://api.github.com/repos/Ravirael/ofpennereasing/deployments","created_at":"2016-10-22T21:20:57Z","updated_at":"2016-10-22T21:20:59Z","pushed_at":"2016-10-22T22:39:11Z","git_url":"git://github.com/Ravirael/ofpennereasing.git","ssh_url":"git@github.com:Ravirael/ofpennereasing.git","clone_url":"https://github.com/Ravirael/ofpennereasing.git","svn_url":"https://github.com/Ravirael/ofpennereasing","homepage":"","size":8,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jesusgollonet:master","ref":"master","sha":"af72c147c3a74e7e872aa28c7e2abfcced04fdce","user":{"login":"jesusgollonet","id":31100,"avatar_url":"https://avatars.githubusercontent.com/u/31100?v=3","gravatar_id":"","url":"https://api.github.com/users/jesusgollonet","html_url":"https://github.com/jesusgollonet","followers_url":"https://api.github.com/users/jesusgollonet/followers","following_url":"https://api.github.com/users/jesusgollonet/following{/other_user}","gists_url":"https://api.github.com/users/jesusgollonet/gists{/gist_id}","starred_url":"https://api.github.com/users/jesusgollonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesusgollonet/subscriptions","organizations_url":"https://api.github.com/users/jesusgollonet/orgs","repos_url":"https://api.github.com/users/jesusgollonet/repos","events_url":"https://api.github.com/users/jesusgollonet/events{/privacy}","received_events_url":"https://api.github.com/users/jesusgollonet/received_events","type":"User","site_admin":false},"repo":{"id":72583,"name":"ofpennereasing","full_name":"jesusgollonet/ofpennereasing","owner":{"login":"jesusgollonet","id":31100,"avatar_url":"https://avatars.githubusercontent.com/u/31100?v=3","gravatar_id":"","url":"https://api.github.com/users/jesusgollonet","html_url":"https://github.com/jesusgollonet","followers_url":"https://api.github.com/users/jesusgollonet/followers","following_url":"https://api.github.com/users/jesusgollonet/following{/other_user}","gists_url":"https://api.github.com/users/jesusgollonet/gists{/gist_id}","starred_url":"https://api.github.com/users/jesusgollonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesusgollonet/subscriptions","organizations_url":"https://api.github.com/users/jesusgollonet/orgs","repos_url":"https://api.github.com/users/jesusgollonet/repos","events_url":"https://api.github.com/users/jesusgollonet/events{/privacy}","received_events_url":"https://api.github.com/users/jesusgollonet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jesusgollonet/ofpennereasing","description":"a port of penner's easing equations to c++, with an openframeworks usage example","fork":false,"url":"https://api.github.com/repos/jesusgollonet/ofpennereasing","forks_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/forks","keys_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/teams","hooks_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/hooks","issue_events_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/issues/events{/number}","events_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/events","assignees_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/assignees{/user}","branches_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/branches{/branch}","tags_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/tags","blobs_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/git/refs{/sha}","trees_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/statuses/{sha}","languages_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/languages","stargazers_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/stargazers","contributors_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/contributors","subscribers_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/subscribers","subscription_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/subscription","commits_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/commits{/sha}","git_commits_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/git/commits{/sha}","comments_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/comments{/number}","issue_comment_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/issues/comments{/number}","contents_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/contents/{+path}","compare_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/merges","archive_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/downloads","issues_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/issues{/number}","pulls_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls{/number}","milestones_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/milestones{/number}","notifications_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/labels{/name}","releases_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/releases{/id}","deployments_url":"https://api.github.com/repos/jesusgollonet/ofpennereasing/deployments","created_at":"2008-11-06T23:30:33Z","updated_at":"2016-11-22T08:50:45Z","pushed_at":"2016-10-22T22:41:24Z","git_url":"git://github.com/jesusgollonet/ofpennereasing.git","ssh_url":"git@github.com:jesusgollonet/ofpennereasing.git","clone_url":"https://github.com/jesusgollonet/ofpennereasing.git","svn_url":"https://github.com/jesusgollonet/ofpennereasing","homepage":"","size":102,"stargazers_count":105,"watchers_count":105,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":2,"forks":17,"open_issues":2,"watchers":105,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/2"},"html":{"href":"https://github.com/jesusgollonet/ofpennereasing/pull/2"},"issue":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/issues/2"},"comments":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/jesusgollonet/ofpennereasing/statuses/0f68b03cc5b90e7825e83a6ef3e49eda2661c428"}}}}
{"actor":{"display_login":"wowiwouldkillmyself"}}