{"action":"created","comment":{"url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/comments/92233252","pull_request_review_id":12741366,"id":92233252,"diff_hunk":"@@ -52,10 +57,17 @@ namespace Engine {\n         double _calculate_wall_dist(Wall wall, CoordinateDouble ray_pos, RaySteps ray_steps, Direction ray_dir);\n \n         LineCords _get_line_measures(int line_height);\n-        void _correct_line(LineCords& line);\n+        LineCords _get_sprite_horizontal_measures(int sprite_width, int sprite_screen_x);\n+        void _correct_line(LineCords& line, int max_axis_value);\n \n         int _get_texture_x_coord(Wall wall, CoordinateDouble ray_pos, Direction ray_dir, double perp_wall_dist);\n         double _get_wall_x(Wall wall, CoordinateDouble ray_pos, Direction ray_dir, double perp_wall_dist);\n+\n+        double get_distance_to_ray(Entity& entity, CoordinateDouble ray_pos);\n+\n+        CoordinateDouble _transform_relative_to_camera_matrix(CoordinateDouble position);","path":"src/engine/raycasting/Raycasting.hpp","position":32,"original_position":32,"commit_id":"e51438d370c8fe2867a6b601567124579643dc44","original_commit_id":"e51438d370c8fe2867a6b601567124579643dc44","user":{"login":"WoutervanGeel","id":7311593,"avatar_url":"https://avatars.githubusercontent.com/u/7311593?v=3","gravatar_id":"","url":"https://api.github.com/users/WoutervanGeel","html_url":"https://github.com/WoutervanGeel","followers_url":"https://api.github.com/users/WoutervanGeel/followers","following_url":"https://api.github.com/users/WoutervanGeel/following{/other_user}","gists_url":"https://api.github.com/users/WoutervanGeel/gists{/gist_id}","starred_url":"https://api.github.com/users/WoutervanGeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WoutervanGeel/subscriptions","organizations_url":"https://api.github.com/users/WoutervanGeel/orgs","repos_url":"https://api.github.com/users/WoutervanGeel/repos","events_url":"https://api.github.com/users/WoutervanGeel/events{/privacy}","received_events_url":"https://api.github.com/users/WoutervanGeel/received_events","type":"User","site_admin":false},"body":"CoordinateDouble -> CoordinateDouble&\r\n?","created_at":"2016-12-13T18:25:32Z","updated_at":"2016-12-13T18:26:40Z","html_url":"https://github.com/ThomasvLingen/Minor_vidya/pull/98#discussion_r92233252","pull_request_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/98","_links":{"self":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/comments/92233252"},"html":{"href":"https://github.com/ThomasvLingen/Minor_vidya/pull/98#discussion_r92233252"},"pull_request":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/98"}}},"pull_request":{"url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/98","id":97792462,"html_url":"https://github.com/ThomasvLingen/Minor_vidya/pull/98","diff_url":"https://github.com/ThomasvLingen/Minor_vidya/pull/98.diff","patch_url":"https://github.com/ThomasvLingen/Minor_vidya/pull/98.patch","issue_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues/98","number":98,"state":"open","locked":false,"title":"Wouter thomas entity drawing rebased","user":{"login":"ThomasvLingen","id":4148061,"avatar_url":"https://avatars.githubusercontent.com/u/4148061?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasvLingen","html_url":"https://github.com/ThomasvLingen","followers_url":"https://api.github.com/users/ThomasvLingen/followers","following_url":"https://api.github.com/users/ThomasvLingen/following{/other_user}","gists_url":"https://api.github.com/users/ThomasvLingen/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasvLingen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasvLingen/subscriptions","organizations_url":"https://api.github.com/users/ThomasvLingen/orgs","repos_url":"https://api.github.com/users/ThomasvLingen/repos","events_url":"https://api.github.com/users/ThomasvLingen/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasvLingen/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-13T17:01:22Z","updated_at":"2016-12-13T18:26:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f94ffaebe17285e3268c939aea4a5b0128391fd7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/98/commits","review_comments_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/98/comments","review_comment_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues/98/comments","statuses_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/statuses/e51438d370c8fe2867a6b601567124579643dc44","head":{"label":"ThomasvLingen:WouterThomas_entity_drawing_rebased","ref":"WouterThomas_entity_drawing_rebased","sha":"e51438d370c8fe2867a6b601567124579643dc44","user":{"login":"ThomasvLingen","id":4148061,"avatar_url":"https://avatars.githubusercontent.com/u/4148061?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasvLingen","html_url":"https://github.com/ThomasvLingen","followers_url":"https://api.github.com/users/ThomasvLingen/followers","following_url":"https://api.github.com/users/ThomasvLingen/following{/other_user}","gists_url":"https://api.github.com/users/ThomasvLingen/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasvLingen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasvLingen/subscriptions","organizations_url":"https://api.github.com/users/ThomasvLingen/orgs","repos_url":"https://api.github.com/users/ThomasvLingen/repos","events_url":"https://api.github.com/users/ThomasvLingen/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasvLingen/received_events","type":"User","site_admin":false},"repo":{"id":70231180,"name":"Minor_vidya","full_name":"ThomasvLingen/Minor_vidya","owner":{"login":"ThomasvLingen","id":4148061,"avatar_url":"https://avatars.githubusercontent.com/u/4148061?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasvLingen","html_url":"https://github.com/ThomasvLingen","followers_url":"https://api.github.com/users/ThomasvLingen/followers","following_url":"https://api.github.com/users/ThomasvLingen/following{/other_user}","gists_url":"https://api.github.com/users/ThomasvLingen/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasvLingen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasvLingen/subscriptions","organizations_url":"https://api.github.com/users/ThomasvLingen/orgs","repos_url":"https://api.github.com/users/ThomasvLingen/repos","events_url":"https://api.github.com/users/ThomasvLingen/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasvLingen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ThomasvLingen/Minor_vidya","description":"This is the repo for the SWAP-E project's videogame","fork":false,"url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya","forks_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/forks","keys_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/teams","hooks_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/hooks","issue_events_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues/events{/number}","events_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/events","assignees_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/assignees{/user}","branches_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/branches{/branch}","tags_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/tags","blobs_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/refs{/sha}","trees_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/statuses/{sha}","languages_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/languages","stargazers_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/stargazers","contributors_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/contributors","subscribers_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/subscribers","subscription_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/subscription","commits_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/commits{/sha}","git_commits_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/commits{/sha}","comments_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/comments{/number}","issue_comment_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues/comments{/number}","contents_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/contents/{+path}","compare_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/merges","archive_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/downloads","issues_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues{/number}","pulls_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls{/number}","milestones_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/milestones{/number}","notifications_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/labels{/name}","releases_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/releases{/id}","deployments_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/deployments","created_at":"2016-10-07T09:04:39Z","updated_at":"2016-12-01T12:08:58Z","pushed_at":"2016-12-13T17:56:09Z","git_url":"git://github.com/ThomasvLingen/Minor_vidya.git","ssh_url":"git@github.com:ThomasvLingen/Minor_vidya.git","clone_url":"https://github.com/ThomasvLingen/Minor_vidya.git","svn_url":"https://github.com/ThomasvLingen/Minor_vidya","homepage":null,"size":39446,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":2,"default_branch":"dev"}},"base":{"label":"ThomasvLingen:dev","ref":"dev","sha":"d2615088a8a235b63a7e36dec39689ab20136506","user":{"login":"ThomasvLingen","id":4148061,"avatar_url":"https://avatars.githubusercontent.com/u/4148061?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasvLingen","html_url":"https://github.com/ThomasvLingen","followers_url":"https://api.github.com/users/ThomasvLingen/followers","following_url":"https://api.github.com/users/ThomasvLingen/following{/other_user}","gists_url":"https://api.github.com/users/ThomasvLingen/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasvLingen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasvLingen/subscriptions","organizations_url":"https://api.github.com/users/ThomasvLingen/orgs","repos_url":"https://api.github.com/users/ThomasvLingen/repos","events_url":"https://api.github.com/users/ThomasvLingen/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasvLingen/received_events","type":"User","site_admin":false},"repo":{"id":70231180,"name":"Minor_vidya","full_name":"ThomasvLingen/Minor_vidya","owner":{"login":"ThomasvLingen","id":4148061,"avatar_url":"https://avatars.githubusercontent.com/u/4148061?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasvLingen","html_url":"https://github.com/ThomasvLingen","followers_url":"https://api.github.com/users/ThomasvLingen/followers","following_url":"https://api.github.com/users/ThomasvLingen/following{/other_user}","gists_url":"https://api.github.com/users/ThomasvLingen/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasvLingen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasvLingen/subscriptions","organizations_url":"https://api.github.com/users/ThomasvLingen/orgs","repos_url":"https://api.github.com/users/ThomasvLingen/repos","events_url":"https://api.github.com/users/ThomasvLingen/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasvLingen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ThomasvLingen/Minor_vidya","description":"This is the repo for the SWAP-E project's videogame","fork":false,"url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya","forks_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/forks","keys_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/teams","hooks_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/hooks","issue_events_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues/events{/number}","events_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/events","assignees_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/assignees{/user}","branches_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/branches{/branch}","tags_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/tags","blobs_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/refs{/sha}","trees_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/statuses/{sha}","languages_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/languages","stargazers_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/stargazers","contributors_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/contributors","subscribers_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/subscribers","subscription_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/subscription","commits_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/commits{/sha}","git_commits_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/git/commits{/sha}","comments_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/comments{/number}","issue_comment_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues/comments{/number}","contents_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/contents/{+path}","compare_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/merges","archive_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/downloads","issues_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues{/number}","pulls_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls{/number}","milestones_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/milestones{/number}","notifications_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/labels{/name}","releases_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/releases{/id}","deployments_url":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/deployments","created_at":"2016-10-07T09:04:39Z","updated_at":"2016-12-01T12:08:58Z","pushed_at":"2016-12-13T17:56:09Z","git_url":"git://github.com/ThomasvLingen/Minor_vidya.git","ssh_url":"git@github.com:ThomasvLingen/Minor_vidya.git","clone_url":"https://github.com/ThomasvLingen/Minor_vidya.git","svn_url":"https://github.com/ThomasvLingen/Minor_vidya","homepage":null,"size":39446,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":2,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/98"},"html":{"href":"https://github.com/ThomasvLingen/Minor_vidya/pull/98"},"issue":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues/98"},"comments":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/ThomasvLingen/Minor_vidya/statuses/e51438d370c8fe2867a6b601567124579643dc44"}}}}
{"actor":{"display_login":"WoutervanGeel"}}