{"action":"created","comment":{"url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/comments/98606510","pull_request_review_id":19251329,"id":98606510,"diff_hunk":"@@ -0,0 +1,30 @@\n+#include \"PlayerPhysicsComponent.h\"\n+\n+#include \"GameManager.h\"\n+#include \"GameObject.h\"\n+#include \"GameWorld.h\"\n+\n+PlayerPhysicsComponent::PlayerPhysicsComponent() {}\n+\n+PlayerPhysicsComponent::~PlayerPhysicsComponent() {}\n+\n+void PlayerPhysicsComponent::initObjectPhysics() {\n+   updateBoundingBox();\n+}\n+\n+void PlayerPhysicsComponent::updateBoundingBox() {\n+\tBoundingBox& boundBox = holder_->boundBox;\n+\tMatrixTransform transform = holder_->transform;\n+\n+\tboundBox.update(transform.getTransform());\n+}\n+\n+void PlayerPhysicsComponent::updatePhysics(float deltaTime) {\n+   if (holder_->toggleMovement) {\n+      glm::vec3 newPosition = holder_->getPosition() + (holder_->velocity *\n+         glm::normalize(holder_->direction) * deltaTime);\n+      holder_->setPosition(newPosition);\n+      updateBoundingBox();\n+   }\n+   // TODO (noj) update bounding box here.","path":"src/PlayerPhysicsComponent.cpp","position":29,"original_position":29,"commit_id":"4628303eeecca7d2443a11bcbcc8f920a05e598b","original_commit_id":"4628303eeecca7d2443a11bcbcc8f920a05e598b","user":{"login":"rgarmsen2295","id":9124858,"avatar_url":"https://avatars.githubusercontent.com/u/9124858?v=3","gravatar_id":"","url":"https://api.github.com/users/rgarmsen2295","html_url":"https://github.com/rgarmsen2295","followers_url":"https://api.github.com/users/rgarmsen2295/followers","following_url":"https://api.github.com/users/rgarmsen2295/following{/other_user}","gists_url":"https://api.github.com/users/rgarmsen2295/gists{/gist_id}","starred_url":"https://api.github.com/users/rgarmsen2295/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgarmsen2295/subscriptions","organizations_url":"https://api.github.com/users/rgarmsen2295/orgs","repos_url":"https://api.github.com/users/rgarmsen2295/repos","events_url":"https://api.github.com/users/rgarmsen2295/events{/privacy}","received_events_url":"https://api.github.com/users/rgarmsen2295/received_events","type":"User","site_admin":false},"body":"Does this matter now?","created_at":"2017-01-31T06:40:49Z","updated_at":"2017-01-31T06:43:56Z","html_url":"https://github.com/joncatanio/GrannyGauntlet/pull/26#discussion_r98606510","pull_request_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/comments/98606510"},"html":{"href":"https://github.com/joncatanio/GrannyGauntlet/pull/26#discussion_r98606510"},"pull_request":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/26","id":103878778,"html_url":"https://github.com/joncatanio/GrannyGauntlet/pull/26","diff_url":"https://github.com/joncatanio/GrannyGauntlet/pull/26.diff","patch_url":"https://github.com/joncatanio/GrannyGauntlet/pull/26.patch","issue_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues/26","number":26,"state":"open","locked":false,"title":"Third Person Camera on Weak Spring","user":{"login":"joncatanio","id":13863008,"avatar_url":"https://avatars.githubusercontent.com/u/13863008?v=3","gravatar_id":"","url":"https://api.github.com/users/joncatanio","html_url":"https://github.com/joncatanio","followers_url":"https://api.github.com/users/joncatanio/followers","following_url":"https://api.github.com/users/joncatanio/following{/other_user}","gists_url":"https://api.github.com/users/joncatanio/gists{/gist_id}","starred_url":"https://api.github.com/users/joncatanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncatanio/subscriptions","organizations_url":"https://api.github.com/users/joncatanio/orgs","repos_url":"https://api.github.com/users/joncatanio/repos","events_url":"https://api.github.com/users/joncatanio/events{/privacy}","received_events_url":"https://api.github.com/users/joncatanio/received_events","type":"User","site_admin":false},"body":"The biggest additions to the project is the weak spring camera and the input component. I also added a Player class. I refactored as much as possible to have a clean program and think it is alright. If you have any suggestions/questions let me know.","created_at":"2017-01-31T06:26:48Z","updated_at":"2017-01-31T06:43:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eab02ff5a56909aa6a99a8fcc04fb2d5366e8816","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/milestones/1","html_url":"https://github.com/joncatanio/GrannyGauntlet/milestone/1","labels_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/milestones/1/labels","id":2282972,"number":1,"title":"25% Completion","description":"","creator":{"login":"joncatanio","id":13863008,"avatar_url":"https://avatars.githubusercontent.com/u/13863008?v=3","gravatar_id":"","url":"https://api.github.com/users/joncatanio","html_url":"https://github.com/joncatanio","followers_url":"https://api.github.com/users/joncatanio/followers","following_url":"https://api.github.com/users/joncatanio/following{/other_user}","gists_url":"https://api.github.com/users/joncatanio/gists{/gist_id}","starred_url":"https://api.github.com/users/joncatanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncatanio/subscriptions","organizations_url":"https://api.github.com/users/joncatanio/orgs","repos_url":"https://api.github.com/users/joncatanio/repos","events_url":"https://api.github.com/users/joncatanio/events{/privacy}","received_events_url":"https://api.github.com/users/joncatanio/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2017-01-27T18:30:48Z","updated_at":"2017-01-31T06:26:48Z","due_on":"2017-01-31T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/26/commits","review_comments_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/26/comments","review_comment_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues/26/comments","statuses_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/statuses/4628303eeecca7d2443a11bcbcc8f920a05e598b","head":{"label":"joncatanio:third-person-cam","ref":"third-person-cam","sha":"4628303eeecca7d2443a11bcbcc8f920a05e598b","user":{"login":"joncatanio","id":13863008,"avatar_url":"https://avatars.githubusercontent.com/u/13863008?v=3","gravatar_id":"","url":"https://api.github.com/users/joncatanio","html_url":"https://github.com/joncatanio","followers_url":"https://api.github.com/users/joncatanio/followers","following_url":"https://api.github.com/users/joncatanio/following{/other_user}","gists_url":"https://api.github.com/users/joncatanio/gists{/gist_id}","starred_url":"https://api.github.com/users/joncatanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncatanio/subscriptions","organizations_url":"https://api.github.com/users/joncatanio/orgs","repos_url":"https://api.github.com/users/joncatanio/repos","events_url":"https://api.github.com/users/joncatanio/events{/privacy}","received_events_url":"https://api.github.com/users/joncatanio/received_events","type":"User","site_admin":false},"repo":{"id":79425752,"name":"GrannyGauntlet","full_name":"joncatanio/GrannyGauntlet","owner":{"login":"joncatanio","id":13863008,"avatar_url":"https://avatars.githubusercontent.com/u/13863008?v=3","gravatar_id":"","url":"https://api.github.com/users/joncatanio","html_url":"https://github.com/joncatanio","followers_url":"https://api.github.com/users/joncatanio/followers","following_url":"https://api.github.com/users/joncatanio/following{/other_user}","gists_url":"https://api.github.com/users/joncatanio/gists{/gist_id}","starred_url":"https://api.github.com/users/joncatanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncatanio/subscriptions","organizations_url":"https://api.github.com/users/joncatanio/orgs","repos_url":"https://api.github.com/users/joncatanio/repos","events_url":"https://api.github.com/users/joncatanio/events{/privacy}","received_events_url":"https://api.github.com/users/joncatanio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joncatanio/GrannyGauntlet","description":"Cross-platform game created for the Advanced Graphics course at Cal Poly.","fork":false,"url":"https://api.github.com/repos/joncatanio/GrannyGauntlet","forks_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/forks","keys_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/teams","hooks_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/hooks","issue_events_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues/events{/number}","events_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/events","assignees_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/assignees{/user}","branches_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/branches{/branch}","tags_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/tags","blobs_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/refs{/sha}","trees_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/statuses/{sha}","languages_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/languages","stargazers_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/stargazers","contributors_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/contributors","subscribers_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/subscribers","subscription_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/subscription","commits_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/commits{/sha}","git_commits_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/commits{/sha}","comments_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/comments{/number}","issue_comment_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues/comments{/number}","contents_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/contents/{+path}","compare_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/merges","archive_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/downloads","issues_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues{/number}","pulls_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls{/number}","milestones_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/milestones{/number}","notifications_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/labels{/name}","releases_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/releases{/id}","deployments_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/deployments","created_at":"2017-01-19T07:06:49Z","updated_at":"2017-01-26T23:53:56Z","pushed_at":"2017-01-31T06:26:48Z","git_url":"git://github.com/joncatanio/GrannyGauntlet.git","ssh_url":"git@github.com:joncatanio/GrannyGauntlet.git","clone_url":"https://github.com/joncatanio/GrannyGauntlet.git","svn_url":"https://github.com/joncatanio/GrannyGauntlet","homepage":null,"size":8362,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":19,"forks":2,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"joncatanio:master","ref":"master","sha":"a3cbdf9d816f5f72f9a4f863ede5f64b386856af","user":{"login":"joncatanio","id":13863008,"avatar_url":"https://avatars.githubusercontent.com/u/13863008?v=3","gravatar_id":"","url":"https://api.github.com/users/joncatanio","html_url":"https://github.com/joncatanio","followers_url":"https://api.github.com/users/joncatanio/followers","following_url":"https://api.github.com/users/joncatanio/following{/other_user}","gists_url":"https://api.github.com/users/joncatanio/gists{/gist_id}","starred_url":"https://api.github.com/users/joncatanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncatanio/subscriptions","organizations_url":"https://api.github.com/users/joncatanio/orgs","repos_url":"https://api.github.com/users/joncatanio/repos","events_url":"https://api.github.com/users/joncatanio/events{/privacy}","received_events_url":"https://api.github.com/users/joncatanio/received_events","type":"User","site_admin":false},"repo":{"id":79425752,"name":"GrannyGauntlet","full_name":"joncatanio/GrannyGauntlet","owner":{"login":"joncatanio","id":13863008,"avatar_url":"https://avatars.githubusercontent.com/u/13863008?v=3","gravatar_id":"","url":"https://api.github.com/users/joncatanio","html_url":"https://github.com/joncatanio","followers_url":"https://api.github.com/users/joncatanio/followers","following_url":"https://api.github.com/users/joncatanio/following{/other_user}","gists_url":"https://api.github.com/users/joncatanio/gists{/gist_id}","starred_url":"https://api.github.com/users/joncatanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joncatanio/subscriptions","organizations_url":"https://api.github.com/users/joncatanio/orgs","repos_url":"https://api.github.com/users/joncatanio/repos","events_url":"https://api.github.com/users/joncatanio/events{/privacy}","received_events_url":"https://api.github.com/users/joncatanio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joncatanio/GrannyGauntlet","description":"Cross-platform game created for the Advanced Graphics course at Cal Poly.","fork":false,"url":"https://api.github.com/repos/joncatanio/GrannyGauntlet","forks_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/forks","keys_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/teams","hooks_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/hooks","issue_events_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues/events{/number}","events_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/events","assignees_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/assignees{/user}","branches_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/branches{/branch}","tags_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/tags","blobs_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/refs{/sha}","trees_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/statuses/{sha}","languages_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/languages","stargazers_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/stargazers","contributors_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/contributors","subscribers_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/subscribers","subscription_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/subscription","commits_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/commits{/sha}","git_commits_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/git/commits{/sha}","comments_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/comments{/number}","issue_comment_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues/comments{/number}","contents_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/contents/{+path}","compare_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/merges","archive_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/downloads","issues_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues{/number}","pulls_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls{/number}","milestones_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/milestones{/number}","notifications_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/labels{/name}","releases_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/releases{/id}","deployments_url":"https://api.github.com/repos/joncatanio/GrannyGauntlet/deployments","created_at":"2017-01-19T07:06:49Z","updated_at":"2017-01-26T23:53:56Z","pushed_at":"2017-01-31T06:26:48Z","git_url":"git://github.com/joncatanio/GrannyGauntlet.git","ssh_url":"git@github.com:joncatanio/GrannyGauntlet.git","clone_url":"https://github.com/joncatanio/GrannyGauntlet.git","svn_url":"https://github.com/joncatanio/GrannyGauntlet","homepage":null,"size":8362,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":19,"forks":2,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/26"},"html":{"href":"https://github.com/joncatanio/GrannyGauntlet/pull/26"},"issue":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues/26"},"comments":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/joncatanio/GrannyGauntlet/statuses/4628303eeecca7d2443a11bcbcc8f920a05e598b"}}}}
{"actor":{"display_login":"rgarmsen2295"}}