{"action":"opened","number":17118,"pull_request":{"url":"https://api.github.com/repos/mrdoob/three.js/pulls/17118","id":301878609,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAxODc4NjA5","html_url":"https://github.com/mrdoob/three.js/pull/17118","diff_url":"https://github.com/mrdoob/three.js/pull/17118.diff","patch_url":"https://github.com/mrdoob/three.js/pull/17118.patch","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/17118","number":17118,"state":"open","locked":false,"title":"Suggestion: Expose and document Raycaster.camera","user":{"login":"gkjohnson","id":734200,"node_id":"MDQ6VXNlcjczNDIwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/734200?v=4","gravatar_id":"","url":"https://api.github.com/users/gkjohnson","html_url":"https://github.com/gkjohnson","followers_url":"https://api.github.com/users/gkjohnson/followers","following_url":"https://api.github.com/users/gkjohnson/following{/other_user}","gists_url":"https://api.github.com/users/gkjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/gkjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkjohnson/subscriptions","organizations_url":"https://api.github.com/users/gkjohnson/orgs","repos_url":"https://api.github.com/users/gkjohnson/repos","events_url":"https://api.github.com/users/gkjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/gkjohnson/received_events","type":"User","site_admin":false},"body":"Related to #17078, #16423\r\n\r\nThis is just a suggestion for how to more explicitly document and expose the `Raycaster.camera` field and (hopefully) make it feel less like magic when calling `Raycaster.setCamera`.  I feel that treating the `Raycaster` object as a kind of context that hold data needed for different types of objects to perform their raycast is a useful pattern and I think `camera` is something that can be used when implementing custom raycast functions for objects that scale based on camera distance or billboard in shaders (such as with lines).","created_at":"2019-07-29T01:35:18Z","updated_at":"2019-07-29T01:35:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mrdoob/three.js/pulls/17118/commits","review_comments_url":"https://api.github.com/repos/mrdoob/three.js/pulls/17118/comments","review_comment_url":"https://api.github.com/repos/mrdoob/three.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/17118/comments","statuses_url":"https://api.github.com/repos/mrdoob/three.js/statuses/765acdcd3d1cee853aad57703da172c6f831d9a4","head":{"label":"gkjohnson:raycaster-camera-suggestion","ref":"raycaster-camera-suggestion","sha":"765acdcd3d1cee853aad57703da172c6f831d9a4","user":{"login":"gkjohnson","id":734200,"node_id":"MDQ6VXNlcjczNDIwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/734200?v=4","gravatar_id":"","url":"https://api.github.com/users/gkjohnson","html_url":"https://github.com/gkjohnson","followers_url":"https://api.github.com/users/gkjohnson/followers","following_url":"https://api.github.com/users/gkjohnson/following{/other_user}","gists_url":"https://api.github.com/users/gkjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/gkjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkjohnson/subscriptions","organizations_url":"https://api.github.com/users/gkjohnson/orgs","repos_url":"https://api.github.com/users/gkjohnson/repos","events_url":"https://api.github.com/users/gkjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/gkjohnson/received_events","type":"User","site_admin":false},"repo":{"id":118062263,"node_id":"MDEwOlJlcG9zaXRvcnkxMTgwNjIyNjM=","name":"three.js","full_name":"gkjohnson/three.js","private":false,"owner":{"login":"gkjohnson","id":734200,"node_id":"MDQ6VXNlcjczNDIwMA==","avatar_url":"https://avatars0.githubusercontent.com/u/734200?v=4","gravatar_id":"","url":"https://api.github.com/users/gkjohnson","html_url":"https://github.com/gkjohnson","followers_url":"https://api.github.com/users/gkjohnson/followers","following_url":"https://api.github.com/users/gkjohnson/following{/other_user}","gists_url":"https://api.github.com/users/gkjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/gkjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkjohnson/subscriptions","organizations_url":"https://api.github.com/users/gkjohnson/orgs","repos_url":"https://api.github.com/users/gkjohnson/repos","events_url":"https://api.github.com/users/gkjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/gkjohnson/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gkjohnson/three.js","description":"JavaScript 3D library.","fork":true,"url":"https://api.github.com/repos/gkjohnson/three.js","forks_url":"https://api.github.com/repos/gkjohnson/three.js/forks","keys_url":"https://api.github.com/repos/gkjohnson/three.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gkjohnson/three.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gkjohnson/three.js/teams","hooks_url":"https://api.github.com/repos/gkjohnson/three.js/hooks","issue_events_url":"https://api.github.com/repos/gkjohnson/three.js/issues/events{/number}","events_url":"https://api.github.com/repos/gkjohnson/three.js/events","assignees_url":"https://api.github.com/repos/gkjohnson/three.js/assignees{/user}","branches_url":"https://api.github.com/repos/gkjohnson/three.js/branches{/branch}","tags_url":"https://api.github.com/repos/gkjohnson/three.js/tags","blobs_url":"https://api.github.com/repos/gkjohnson/three.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gkjohnson/three.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gkjohnson/three.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/gkjohnson/three.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gkjohnson/three.js/statuses/{sha}","languages_url":"https://api.github.com/repos/gkjohnson/three.js/languages","stargazers_url":"https://api.github.com/repos/gkjohnson/three.js/stargazers","contributors_url":"https://api.github.com/repos/gkjohnson/three.js/contributors","subscribers_url":"https://api.github.com/repos/gkjohnson/three.js/subscribers","subscription_url":"https://api.github.com/repos/gkjohnson/three.js/subscription","commits_url":"https://api.github.com/repos/gkjohnson/three.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/gkjohnson/three.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/gkjohnson/three.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/gkjohnson/three.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/gkjohnson/three.js/contents/{+path}","compare_url":"https://api.github.com/repos/gkjohnson/three.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gkjohnson/three.js/merges","archive_url":"https://api.github.com/repos/gkjohnson/three.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gkjohnson/three.js/downloads","issues_url":"https://api.github.com/repos/gkjohnson/three.js/issues{/number}","pulls_url":"https://api.github.com/repos/gkjohnson/three.js/pulls{/number}","milestones_url":"https://api.github.com/repos/gkjohnson/three.js/milestones{/number}","notifications_url":"https://api.github.com/repos/gkjohnson/three.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gkjohnson/three.js/labels{/name}","releases_url":"https://api.github.com/repos/gkjohnson/three.js/releases{/id}","deployments_url":"https://api.github.com/repos/gkjohnson/three.js/deployments","created_at":"2018-01-19T01:53:27Z","updated_at":"2019-01-19T05:59:36Z","pushed_at":"2019-07-29T01:12:50Z","git_url":"git://github.com/gkjohnson/three.js.git","ssh_url":"git@github.com:gkjohnson/three.js.git","clone_url":"https://github.com/gkjohnson/three.js.git","svn_url":"https://github.com/gkjohnson/three.js","homepage":"https://threejs.org/","size":726391,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":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":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"mrdoob:dev","ref":"dev","sha":"436b25e2f7e133ae40e4af06c45cd22895d9f81d","user":{"login":"mrdoob","id":97088,"node_id":"MDQ6VXNlcjk3MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/97088?v=4","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"repo":{"id":576201,"node_id":"MDEwOlJlcG9zaXRvcnk1NzYyMDE=","name":"three.js","full_name":"mrdoob/three.js","private":false,"owner":{"login":"mrdoob","id":97088,"node_id":"MDQ6VXNlcjk3MDg4","avatar_url":"https://avatars0.githubusercontent.com/u/97088?v=4","gravatar_id":"","url":"https://api.github.com/users/mrdoob","html_url":"https://github.com/mrdoob","followers_url":"https://api.github.com/users/mrdoob/followers","following_url":"https://api.github.com/users/mrdoob/following{/other_user}","gists_url":"https://api.github.com/users/mrdoob/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdoob/subscriptions","organizations_url":"https://api.github.com/users/mrdoob/orgs","repos_url":"https://api.github.com/users/mrdoob/repos","events_url":"https://api.github.com/users/mrdoob/events{/privacy}","received_events_url":"https://api.github.com/users/mrdoob/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mrdoob/three.js","description":"JavaScript 3D library.","fork":false,"url":"https://api.github.com/repos/mrdoob/three.js","forks_url":"https://api.github.com/repos/mrdoob/three.js/forks","keys_url":"https://api.github.com/repos/mrdoob/three.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrdoob/three.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrdoob/three.js/teams","hooks_url":"https://api.github.com/repos/mrdoob/three.js/hooks","issue_events_url":"https://api.github.com/repos/mrdoob/three.js/issues/events{/number}","events_url":"https://api.github.com/repos/mrdoob/three.js/events","assignees_url":"https://api.github.com/repos/mrdoob/three.js/assignees{/user}","branches_url":"https://api.github.com/repos/mrdoob/three.js/branches{/branch}","tags_url":"https://api.github.com/repos/mrdoob/three.js/tags","blobs_url":"https://api.github.com/repos/mrdoob/three.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrdoob/three.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrdoob/three.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrdoob/three.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrdoob/three.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mrdoob/three.js/languages","stargazers_url":"https://api.github.com/repos/mrdoob/three.js/stargazers","contributors_url":"https://api.github.com/repos/mrdoob/three.js/contributors","subscribers_url":"https://api.github.com/repos/mrdoob/three.js/subscribers","subscription_url":"https://api.github.com/repos/mrdoob/three.js/subscription","commits_url":"https://api.github.com/repos/mrdoob/three.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrdoob/three.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrdoob/three.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrdoob/three.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrdoob/three.js/contents/{+path}","compare_url":"https://api.github.com/repos/mrdoob/three.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrdoob/three.js/merges","archive_url":"https://api.github.com/repos/mrdoob/three.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrdoob/three.js/downloads","issues_url":"https://api.github.com/repos/mrdoob/three.js/issues{/number}","pulls_url":"https://api.github.com/repos/mrdoob/three.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mrdoob/three.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mrdoob/three.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrdoob/three.js/labels{/name}","releases_url":"https://api.github.com/repos/mrdoob/three.js/releases{/id}","deployments_url":"https://api.github.com/repos/mrdoob/three.js/deployments","created_at":"2010-03-23T18:58:01Z","updated_at":"2019-07-29T01:16:41Z","pushed_at":"2019-07-29T00:32:24Z","git_url":"git://github.com/mrdoob/three.js.git","ssh_url":"git@github.com:mrdoob/three.js.git","clone_url":"https://github.com/mrdoob/three.js.git","svn_url":"https://github.com/mrdoob/three.js","homepage":"https://threejs.org/","size":726858,"stargazers_count":53408,"watchers_count":53408,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":20177,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":790,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":20177,"open_issues":790,"watchers":53408,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/17118"},"html":{"href":"https://github.com/mrdoob/three.js/pull/17118"},"issue":{"href":"https://api.github.com/repos/mrdoob/three.js/issues/17118"},"comments":{"href":"https://api.github.com/repos/mrdoob/three.js/issues/17118/comments"},"review_comments":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/17118/comments"},"review_comment":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mrdoob/three.js/pulls/17118/commits"},"statuses":{"href":"https://api.github.com/repos/mrdoob/three.js/statuses/765acdcd3d1cee853aad57703da172c6f831d9a4"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":20,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"gkjohnson"}}