{"action":"created","comment":{"url":"https://api.github.com/repos/anthill/city-blocks/pulls/comments/23830427","id":23830427,"diff_hunk":"@@ -0,0 +1,45 @@\n+'use strict';\n+\n+var THREE = require('three');\n+\n+module.exports = function(camera){\n+\n+\tfunction fromMouse(event){\n+\t\tconsole.log('creating ray from mouse');\n+\t\t// event ca be a mousemove or click\n+\t\tvar ray = new THREE.Raycaster(),","path":"utils/ray/createRay.js","position":10,"original_position":10,"commit_id":"a9ed24a9bbb12f6368c7527c259465f38a44d322","original_commit_id":"a9ed24a9bbb12f6368c7527c259465f38a44d322","user":{"login":"DavidBruant","id":165829,"avatar_url":"https://avatars.githubusercontent.com/u/165829?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidBruant","html_url":"https://github.com/DavidBruant","followers_url":"https://api.github.com/users/DavidBruant/followers","following_url":"https://api.github.com/users/DavidBruant/following{/other_user}","gists_url":"https://api.github.com/users/DavidBruant/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidBruant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidBruant/subscriptions","organizations_url":"https://api.github.com/users/DavidBruant/orgs","repos_url":"https://api.github.com/users/DavidBruant/repos","events_url":"https://api.github.com/users/DavidBruant/events{/privacy}","received_events_url":"https://api.github.com/users/DavidBruant/received_events","type":"User","site_admin":false},"body":"This variable is unused?","created_at":"2015-01-30T09:00:05Z","updated_at":"2015-01-30T09:00:05Z","html_url":"https://github.com/anthill/city-blocks/pull/7#discussion_r23830427","pull_request_url":"https://api.github.com/repos/anthill/city-blocks/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/anthill/city-blocks/pulls/comments/23830427"},"html":{"href":"https://github.com/anthill/city-blocks/pull/7#discussion_r23830427"},"pull_request":{"href":"https://api.github.com/repos/anthill/city-blocks/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/anthill/city-blocks/pulls/7","id":28029553,"html_url":"https://github.com/anthill/city-blocks/pull/7","diff_url":"https://github.com/anthill/city-blocks/pull/7.diff","patch_url":"https://github.com/anthill/city-blocks/pull/7.patch","issue_url":"https://api.github.com/repos/anthill/city-blocks/issues/7","number":7,"state":"open","locked":false,"title":"Raycasting","user":{"login":"iOiurson","id":8417814,"avatar_url":"https://avatars.githubusercontent.com/u/8417814?v=3","gravatar_id":"","url":"https://api.github.com/users/iOiurson","html_url":"https://github.com/iOiurson","followers_url":"https://api.github.com/users/iOiurson/followers","following_url":"https://api.github.com/users/iOiurson/following{/other_user}","gists_url":"https://api.github.com/users/iOiurson/gists{/gist_id}","starred_url":"https://api.github.com/users/iOiurson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOiurson/subscriptions","organizations_url":"https://api.github.com/users/iOiurson/orgs","repos_url":"https://api.github.com/users/iOiurson/repos","events_url":"https://api.github.com/users/iOiurson/events{/privacy}","received_events_url":"https://api.github.com/users/iOiurson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-26T14:24:25Z","updated_at":"2015-01-30T09:00:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b94b2f36fa4e6c450938a6e7e0a6c08430c3bde","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/anthill/city-blocks/pulls/7/commits","review_comments_url":"https://api.github.com/repos/anthill/city-blocks/pulls/7/comments","review_comment_url":"https://api.github.com/repos/anthill/city-blocks/pulls/comments/{number}","comments_url":"https://api.github.com/repos/anthill/city-blocks/issues/7/comments","statuses_url":"https://api.github.com/repos/anthill/city-blocks/statuses/a9ed24a9bbb12f6368c7527c259465f38a44d322","head":{"label":"iOiurson:raycasting","ref":"raycasting","sha":"a9ed24a9bbb12f6368c7527c259465f38a44d322","user":{"login":"iOiurson","id":8417814,"avatar_url":"https://avatars.githubusercontent.com/u/8417814?v=3","gravatar_id":"","url":"https://api.github.com/users/iOiurson","html_url":"https://github.com/iOiurson","followers_url":"https://api.github.com/users/iOiurson/followers","following_url":"https://api.github.com/users/iOiurson/following{/other_user}","gists_url":"https://api.github.com/users/iOiurson/gists{/gist_id}","starred_url":"https://api.github.com/users/iOiurson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOiurson/subscriptions","organizations_url":"https://api.github.com/users/iOiurson/orgs","repos_url":"https://api.github.com/users/iOiurson/repos","events_url":"https://api.github.com/users/iOiurson/events{/privacy}","received_events_url":"https://api.github.com/users/iOiurson/received_events","type":"User","site_admin":false},"repo":{"id":28221234,"name":"city-blocks","full_name":"iOiurson/city-blocks","owner":{"login":"iOiurson","id":8417814,"avatar_url":"https://avatars.githubusercontent.com/u/8417814?v=3","gravatar_id":"","url":"https://api.github.com/users/iOiurson","html_url":"https://github.com/iOiurson","followers_url":"https://api.github.com/users/iOiurson/followers","following_url":"https://api.github.com/users/iOiurson/following{/other_user}","gists_url":"https://api.github.com/users/iOiurson/gists{/gist_id}","starred_url":"https://api.github.com/users/iOiurson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOiurson/subscriptions","organizations_url":"https://api.github.com/users/iOiurson/orgs","repos_url":"https://api.github.com/users/iOiurson/repos","events_url":"https://api.github.com/users/iOiurson/events{/privacy}","received_events_url":"https://api.github.com/users/iOiurson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iOiurson/city-blocks","description":"Common blocks needed by bordeaux3d-core","fork":true,"url":"https://api.github.com/repos/iOiurson/city-blocks","forks_url":"https://api.github.com/repos/iOiurson/city-blocks/forks","keys_url":"https://api.github.com/repos/iOiurson/city-blocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iOiurson/city-blocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iOiurson/city-blocks/teams","hooks_url":"https://api.github.com/repos/iOiurson/city-blocks/hooks","issue_events_url":"https://api.github.com/repos/iOiurson/city-blocks/issues/events{/number}","events_url":"https://api.github.com/repos/iOiurson/city-blocks/events","assignees_url":"https://api.github.com/repos/iOiurson/city-blocks/assignees{/user}","branches_url":"https://api.github.com/repos/iOiurson/city-blocks/branches{/branch}","tags_url":"https://api.github.com/repos/iOiurson/city-blocks/tags","blobs_url":"https://api.github.com/repos/iOiurson/city-blocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iOiurson/city-blocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iOiurson/city-blocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/iOiurson/city-blocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iOiurson/city-blocks/statuses/{sha}","languages_url":"https://api.github.com/repos/iOiurson/city-blocks/languages","stargazers_url":"https://api.github.com/repos/iOiurson/city-blocks/stargazers","contributors_url":"https://api.github.com/repos/iOiurson/city-blocks/contributors","subscribers_url":"https://api.github.com/repos/iOiurson/city-blocks/subscribers","subscription_url":"https://api.github.com/repos/iOiurson/city-blocks/subscription","commits_url":"https://api.github.com/repos/iOiurson/city-blocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/iOiurson/city-blocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/iOiurson/city-blocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/iOiurson/city-blocks/issues/comments/{number}","contents_url":"https://api.github.com/repos/iOiurson/city-blocks/contents/{+path}","compare_url":"https://api.github.com/repos/iOiurson/city-blocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iOiurson/city-blocks/merges","archive_url":"https://api.github.com/repos/iOiurson/city-blocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iOiurson/city-blocks/downloads","issues_url":"https://api.github.com/repos/iOiurson/city-blocks/issues{/number}","pulls_url":"https://api.github.com/repos/iOiurson/city-blocks/pulls{/number}","milestones_url":"https://api.github.com/repos/iOiurson/city-blocks/milestones{/number}","notifications_url":"https://api.github.com/repos/iOiurson/city-blocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iOiurson/city-blocks/labels{/name}","releases_url":"https://api.github.com/repos/iOiurson/city-blocks/releases{/id}","created_at":"2014-12-19T08:34:44Z","updated_at":"2015-01-23T15:26:42Z","pushed_at":"2015-01-26T14:58:14Z","git_url":"git://github.com/iOiurson/city-blocks.git","ssh_url":"git@github.com:iOiurson/city-blocks.git","clone_url":"https://github.com/iOiurson/city-blocks.git","svn_url":"https://github.com/iOiurson/city-blocks","homepage":null,"size":3403,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"anthill:master","ref":"master","sha":"a9eac37b86d83755821b8bede33f469568da3291","user":{"login":"anthill","id":7281593,"avatar_url":"https://avatars.githubusercontent.com/u/7281593?v=3","gravatar_id":"","url":"https://api.github.com/users/anthill","html_url":"https://github.com/anthill","followers_url":"https://api.github.com/users/anthill/followers","following_url":"https://api.github.com/users/anthill/following{/other_user}","gists_url":"https://api.github.com/users/anthill/gists{/gist_id}","starred_url":"https://api.github.com/users/anthill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthill/subscriptions","organizations_url":"https://api.github.com/users/anthill/orgs","repos_url":"https://api.github.com/users/anthill/repos","events_url":"https://api.github.com/users/anthill/events{/privacy}","received_events_url":"https://api.github.com/users/anthill/received_events","type":"Organization","site_admin":false},"repo":{"id":28188514,"name":"city-blocks","full_name":"anthill/city-blocks","owner":{"login":"anthill","id":7281593,"avatar_url":"https://avatars.githubusercontent.com/u/7281593?v=3","gravatar_id":"","url":"https://api.github.com/users/anthill","html_url":"https://github.com/anthill","followers_url":"https://api.github.com/users/anthill/followers","following_url":"https://api.github.com/users/anthill/following{/other_user}","gists_url":"https://api.github.com/users/anthill/gists{/gist_id}","starred_url":"https://api.github.com/users/anthill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthill/subscriptions","organizations_url":"https://api.github.com/users/anthill/orgs","repos_url":"https://api.github.com/users/anthill/repos","events_url":"https://api.github.com/users/anthill/events{/privacy}","received_events_url":"https://api.github.com/users/anthill/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anthill/city-blocks","description":"Common blocks needed by bordeaux3d-core","fork":false,"url":"https://api.github.com/repos/anthill/city-blocks","forks_url":"https://api.github.com/repos/anthill/city-blocks/forks","keys_url":"https://api.github.com/repos/anthill/city-blocks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anthill/city-blocks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anthill/city-blocks/teams","hooks_url":"https://api.github.com/repos/anthill/city-blocks/hooks","issue_events_url":"https://api.github.com/repos/anthill/city-blocks/issues/events{/number}","events_url":"https://api.github.com/repos/anthill/city-blocks/events","assignees_url":"https://api.github.com/repos/anthill/city-blocks/assignees{/user}","branches_url":"https://api.github.com/repos/anthill/city-blocks/branches{/branch}","tags_url":"https://api.github.com/repos/anthill/city-blocks/tags","blobs_url":"https://api.github.com/repos/anthill/city-blocks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anthill/city-blocks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anthill/city-blocks/git/refs{/sha}","trees_url":"https://api.github.com/repos/anthill/city-blocks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anthill/city-blocks/statuses/{sha}","languages_url":"https://api.github.com/repos/anthill/city-blocks/languages","stargazers_url":"https://api.github.com/repos/anthill/city-blocks/stargazers","contributors_url":"https://api.github.com/repos/anthill/city-blocks/contributors","subscribers_url":"https://api.github.com/repos/anthill/city-blocks/subscribers","subscription_url":"https://api.github.com/repos/anthill/city-blocks/subscription","commits_url":"https://api.github.com/repos/anthill/city-blocks/commits{/sha}","git_commits_url":"https://api.github.com/repos/anthill/city-blocks/git/commits{/sha}","comments_url":"https://api.github.com/repos/anthill/city-blocks/comments{/number}","issue_comment_url":"https://api.github.com/repos/anthill/city-blocks/issues/comments/{number}","contents_url":"https://api.github.com/repos/anthill/city-blocks/contents/{+path}","compare_url":"https://api.github.com/repos/anthill/city-blocks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anthill/city-blocks/merges","archive_url":"https://api.github.com/repos/anthill/city-blocks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anthill/city-blocks/downloads","issues_url":"https://api.github.com/repos/anthill/city-blocks/issues{/number}","pulls_url":"https://api.github.com/repos/anthill/city-blocks/pulls{/number}","milestones_url":"https://api.github.com/repos/anthill/city-blocks/milestones{/number}","notifications_url":"https://api.github.com/repos/anthill/city-blocks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anthill/city-blocks/labels{/name}","releases_url":"https://api.github.com/repos/anthill/city-blocks/releases{/id}","created_at":"2014-12-18T15:14:24Z","updated_at":"2015-01-23T15:20:59Z","pushed_at":"2015-01-23T15:20:59Z","git_url":"git://github.com/anthill/city-blocks.git","ssh_url":"git@github.com:anthill/city-blocks.git","clone_url":"https://github.com/anthill/city-blocks.git","svn_url":"https://github.com/anthill/city-blocks","homepage":null,"size":3484,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anthill/city-blocks/pulls/7"},"html":{"href":"https://github.com/anthill/city-blocks/pull/7"},"issue":{"href":"https://api.github.com/repos/anthill/city-blocks/issues/7"},"comments":{"href":"https://api.github.com/repos/anthill/city-blocks/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/anthill/city-blocks/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/anthill/city-blocks/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/anthill/city-blocks/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/anthill/city-blocks/statuses/a9ed24a9bbb12f6368c7527c259465f38a44d322"}}}}