{"action":"created","comment":{"url":"https://api.github.com/repos/ggajoch/LayView/pulls/comments/49276821","id":49276821,"diff_hunk":"@@ -0,0 +1,28 @@\n+class DVector {\n+  public double x, y, z;\n+  DVector(double x_, double y_, double z_) {\n+    x = x_;\n+    y = y_;\n+    z = z_;\n+  }\n+  \n+  double multiplyScalar(DVector second){\n+    return(this.x*second.x + this.y*second.y + this.z*second.z);\n+  }\n+  \n+  DVector multiplyEach(DVector second){\n+    return(new DVector(this.x*second.x, this.y*second.y, this.z*second.z));\n+  }\n+  \n+  DVector add(DVector second){\n+    return(new DVector(this.x+second.x, this.y+second.y, this.z+second.z));\n+  }\n+  \n+  DVector multiplyNumber(double number){\n+    return(new DVector(this.x*number, this.y*number, this.z*number));\n+  }\n+  \n+  float module(){","path":"Application/DVector.pde","position":28,"original_position":25,"commit_id":"094a646df37c8f4272242b6c625d4821b5de18c0","original_commit_id":"a7a4c2694f2547de5dffc6363dc91a2a41d0c93a","user":{"login":"piotrva","id":5657414,"avatar_url":"https://avatars.githubusercontent.com/u/5657414?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrva","html_url":"https://github.com/piotrva","followers_url":"https://api.github.com/users/piotrva/followers","following_url":"https://api.github.com/users/piotrva/following{/other_user}","gists_url":"https://api.github.com/users/piotrva/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrva/subscriptions","organizations_url":"https://api.github.com/users/piotrva/orgs","repos_url":"https://api.github.com/users/piotrva/repos","events_url":"https://api.github.com/users/piotrva/events{/privacy}","received_events_url":"https://api.github.com/users/piotrva/received_events","type":"User","site_admin":false},"body":"bo korzystam z float gdzieś w modułach","created_at":"2016-01-10T15:01:21Z","updated_at":"2016-01-10T15:01:21Z","html_url":"https://github.com/ggajoch/LayView/pull/1#discussion_r49276821","pull_request_url":"https://api.github.com/repos/ggajoch/LayView/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ggajoch/LayView/pulls/comments/49276821"},"html":{"href":"https://github.com/ggajoch/LayView/pull/1#discussion_r49276821"},"pull_request":{"href":"https://api.github.com/repos/ggajoch/LayView/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ggajoch/LayView/pulls/1","id":55552839,"html_url":"https://github.com/ggajoch/LayView/pull/1","diff_url":"https://github.com/ggajoch/LayView/pull/1.diff","patch_url":"https://github.com/ggajoch/LayView/pull/1.patch","issue_url":"https://api.github.com/repos/ggajoch/LayView/issues/1","number":1,"state":"open","locked":false,"title":"Graphgics","user":{"login":"piotrva","id":5657414,"avatar_url":"https://avatars.githubusercontent.com/u/5657414?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrva","html_url":"https://github.com/piotrva","followers_url":"https://api.github.com/users/piotrva/followers","following_url":"https://api.github.com/users/piotrva/following{/other_user}","gists_url":"https://api.github.com/users/piotrva/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrva/subscriptions","organizations_url":"https://api.github.com/users/piotrva/orgs","repos_url":"https://api.github.com/users/piotrva/repos","events_url":"https://api.github.com/users/piotrva/events{/privacy}","received_events_url":"https://api.github.com/users/piotrva/received_events","type":"User","site_admin":false},"body":"All functions basically working","created_at":"2016-01-09T22:44:40Z","updated_at":"2016-01-10T15:01:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1536b37ea513c1f151d3ff2b60c82c761f8b64f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ggajoch/LayView/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ggajoch/LayView/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ggajoch/LayView/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ggajoch/LayView/issues/1/comments","statuses_url":"https://api.github.com/repos/ggajoch/LayView/statuses/094a646df37c8f4272242b6c625d4821b5de18c0","head":{"label":"ggajoch:Graphgics","ref":"Graphgics","sha":"094a646df37c8f4272242b6c625d4821b5de18c0","user":{"login":"ggajoch","id":1294260,"avatar_url":"https://avatars.githubusercontent.com/u/1294260?v=3","gravatar_id":"","url":"https://api.github.com/users/ggajoch","html_url":"https://github.com/ggajoch","followers_url":"https://api.github.com/users/ggajoch/followers","following_url":"https://api.github.com/users/ggajoch/following{/other_user}","gists_url":"https://api.github.com/users/ggajoch/gists{/gist_id}","starred_url":"https://api.github.com/users/ggajoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggajoch/subscriptions","organizations_url":"https://api.github.com/users/ggajoch/orgs","repos_url":"https://api.github.com/users/ggajoch/repos","events_url":"https://api.github.com/users/ggajoch/events{/privacy}","received_events_url":"https://api.github.com/users/ggajoch/received_events","type":"User","site_admin":false},"repo":{"id":44497414,"name":"LayView","full_name":"ggajoch/LayView","owner":{"login":"ggajoch","id":1294260,"avatar_url":"https://avatars.githubusercontent.com/u/1294260?v=3","gravatar_id":"","url":"https://api.github.com/users/ggajoch","html_url":"https://github.com/ggajoch","followers_url":"https://api.github.com/users/ggajoch/followers","following_url":"https://api.github.com/users/ggajoch/following{/other_user}","gists_url":"https://api.github.com/users/ggajoch/gists{/gist_id}","starred_url":"https://api.github.com/users/ggajoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggajoch/subscriptions","organizations_url":"https://api.github.com/users/ggajoch/orgs","repos_url":"https://api.github.com/users/ggajoch/repos","events_url":"https://api.github.com/users/ggajoch/events{/privacy}","received_events_url":"https://api.github.com/users/ggajoch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggajoch/LayView","description":"","fork":false,"url":"https://api.github.com/repos/ggajoch/LayView","forks_url":"https://api.github.com/repos/ggajoch/LayView/forks","keys_url":"https://api.github.com/repos/ggajoch/LayView/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggajoch/LayView/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggajoch/LayView/teams","hooks_url":"https://api.github.com/repos/ggajoch/LayView/hooks","issue_events_url":"https://api.github.com/repos/ggajoch/LayView/issues/events{/number}","events_url":"https://api.github.com/repos/ggajoch/LayView/events","assignees_url":"https://api.github.com/repos/ggajoch/LayView/assignees{/user}","branches_url":"https://api.github.com/repos/ggajoch/LayView/branches{/branch}","tags_url":"https://api.github.com/repos/ggajoch/LayView/tags","blobs_url":"https://api.github.com/repos/ggajoch/LayView/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggajoch/LayView/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggajoch/LayView/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggajoch/LayView/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggajoch/LayView/statuses/{sha}","languages_url":"https://api.github.com/repos/ggajoch/LayView/languages","stargazers_url":"https://api.github.com/repos/ggajoch/LayView/stargazers","contributors_url":"https://api.github.com/repos/ggajoch/LayView/contributors","subscribers_url":"https://api.github.com/repos/ggajoch/LayView/subscribers","subscription_url":"https://api.github.com/repos/ggajoch/LayView/subscription","commits_url":"https://api.github.com/repos/ggajoch/LayView/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggajoch/LayView/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggajoch/LayView/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggajoch/LayView/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggajoch/LayView/contents/{+path}","compare_url":"https://api.github.com/repos/ggajoch/LayView/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggajoch/LayView/merges","archive_url":"https://api.github.com/repos/ggajoch/LayView/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggajoch/LayView/downloads","issues_url":"https://api.github.com/repos/ggajoch/LayView/issues{/number}","pulls_url":"https://api.github.com/repos/ggajoch/LayView/pulls{/number}","milestones_url":"https://api.github.com/repos/ggajoch/LayView/milestones{/number}","notifications_url":"https://api.github.com/repos/ggajoch/LayView/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggajoch/LayView/labels{/name}","releases_url":"https://api.github.com/repos/ggajoch/LayView/releases{/id}","created_at":"2015-10-18T21:31:20Z","updated_at":"2015-10-18T21:41:36Z","pushed_at":"2016-01-10T05:50:39Z","git_url":"git://github.com/ggajoch/LayView.git","ssh_url":"git@github.com:ggajoch/LayView.git","clone_url":"https://github.com/ggajoch/LayView.git","svn_url":"https://github.com/ggajoch/LayView","homepage":null,"size":63045,"stargazers_count":0,"watchers_count":0,"language":"Processing","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ggajoch:master","ref":"master","sha":"21686f348f04f24e5b04d7ece3dbf0430223cf06","user":{"login":"ggajoch","id":1294260,"avatar_url":"https://avatars.githubusercontent.com/u/1294260?v=3","gravatar_id":"","url":"https://api.github.com/users/ggajoch","html_url":"https://github.com/ggajoch","followers_url":"https://api.github.com/users/ggajoch/followers","following_url":"https://api.github.com/users/ggajoch/following{/other_user}","gists_url":"https://api.github.com/users/ggajoch/gists{/gist_id}","starred_url":"https://api.github.com/users/ggajoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggajoch/subscriptions","organizations_url":"https://api.github.com/users/ggajoch/orgs","repos_url":"https://api.github.com/users/ggajoch/repos","events_url":"https://api.github.com/users/ggajoch/events{/privacy}","received_events_url":"https://api.github.com/users/ggajoch/received_events","type":"User","site_admin":false},"repo":{"id":44497414,"name":"LayView","full_name":"ggajoch/LayView","owner":{"login":"ggajoch","id":1294260,"avatar_url":"https://avatars.githubusercontent.com/u/1294260?v=3","gravatar_id":"","url":"https://api.github.com/users/ggajoch","html_url":"https://github.com/ggajoch","followers_url":"https://api.github.com/users/ggajoch/followers","following_url":"https://api.github.com/users/ggajoch/following{/other_user}","gists_url":"https://api.github.com/users/ggajoch/gists{/gist_id}","starred_url":"https://api.github.com/users/ggajoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggajoch/subscriptions","organizations_url":"https://api.github.com/users/ggajoch/orgs","repos_url":"https://api.github.com/users/ggajoch/repos","events_url":"https://api.github.com/users/ggajoch/events{/privacy}","received_events_url":"https://api.github.com/users/ggajoch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggajoch/LayView","description":"","fork":false,"url":"https://api.github.com/repos/ggajoch/LayView","forks_url":"https://api.github.com/repos/ggajoch/LayView/forks","keys_url":"https://api.github.com/repos/ggajoch/LayView/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggajoch/LayView/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggajoch/LayView/teams","hooks_url":"https://api.github.com/repos/ggajoch/LayView/hooks","issue_events_url":"https://api.github.com/repos/ggajoch/LayView/issues/events{/number}","events_url":"https://api.github.com/repos/ggajoch/LayView/events","assignees_url":"https://api.github.com/repos/ggajoch/LayView/assignees{/user}","branches_url":"https://api.github.com/repos/ggajoch/LayView/branches{/branch}","tags_url":"https://api.github.com/repos/ggajoch/LayView/tags","blobs_url":"https://api.github.com/repos/ggajoch/LayView/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggajoch/LayView/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggajoch/LayView/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggajoch/LayView/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggajoch/LayView/statuses/{sha}","languages_url":"https://api.github.com/repos/ggajoch/LayView/languages","stargazers_url":"https://api.github.com/repos/ggajoch/LayView/stargazers","contributors_url":"https://api.github.com/repos/ggajoch/LayView/contributors","subscribers_url":"https://api.github.com/repos/ggajoch/LayView/subscribers","subscription_url":"https://api.github.com/repos/ggajoch/LayView/subscription","commits_url":"https://api.github.com/repos/ggajoch/LayView/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggajoch/LayView/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggajoch/LayView/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggajoch/LayView/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggajoch/LayView/contents/{+path}","compare_url":"https://api.github.com/repos/ggajoch/LayView/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggajoch/LayView/merges","archive_url":"https://api.github.com/repos/ggajoch/LayView/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggajoch/LayView/downloads","issues_url":"https://api.github.com/repos/ggajoch/LayView/issues{/number}","pulls_url":"https://api.github.com/repos/ggajoch/LayView/pulls{/number}","milestones_url":"https://api.github.com/repos/ggajoch/LayView/milestones{/number}","notifications_url":"https://api.github.com/repos/ggajoch/LayView/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggajoch/LayView/labels{/name}","releases_url":"https://api.github.com/repos/ggajoch/LayView/releases{/id}","created_at":"2015-10-18T21:31:20Z","updated_at":"2015-10-18T21:41:36Z","pushed_at":"2016-01-10T05:50:39Z","git_url":"git://github.com/ggajoch/LayView.git","ssh_url":"git@github.com:ggajoch/LayView.git","clone_url":"https://github.com/ggajoch/LayView.git","svn_url":"https://github.com/ggajoch/LayView","homepage":null,"size":63045,"stargazers_count":0,"watchers_count":0,"language":"Processing","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ggajoch/LayView/pulls/1"},"html":{"href":"https://github.com/ggajoch/LayView/pull/1"},"issue":{"href":"https://api.github.com/repos/ggajoch/LayView/issues/1"},"comments":{"href":"https://api.github.com/repos/ggajoch/LayView/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ggajoch/LayView/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ggajoch/LayView/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ggajoch/LayView/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ggajoch/LayView/statuses/094a646df37c8f4272242b6c625d4821b5de18c0"}}}}