{"action":"created","comment":{"url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/comments/214464983","pull_request_review_id":151536211,"id":214464983,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDQ2NDk4Mw==","diff_hunk":"@@ -0,0 +1,310 @@\n+package Matrices\r\n+import NoWurst\r\n+import Vectors\r\n+import String\r\n+\r\n+\r\n+/* Great thanks to euclideanspace.com for wide explanations. */\r\n+\r\n+\r\n+public let ZERO22 = mat2(0, 0, 0, 0)\r\n+public let ZERO33 = mat3(0, 0, 0, 0, 0, 0, 0, 0, 0)\r\n+\r\n+public let IDENTITY22 = mat2(\r\n+    1, 0,\r\n+    0, 1)\r\n+\r\n+public let IDENTITY33 = mat3(\r\n+    1, 0, 0,\r\n+    0, 1, 0,\r\n+    0, 0, 1)\r\n+\r\n+\r\n+/* =========== 2X2 MATRIX =========== */\r\n+/** Matrxi 2x2\r\n+00 01\r\n+10 11\r\n+*/\r\n+public tuple mat2(real rc00, real rc01, real rc10, real rc11)\r\n+\r\n+                     \r\n+public function mat2.op_plus(mat2 m) returns mat2\r\n+    return mat2(\r\n+        this.rc00 + m.rc00, this.rc01 + m.rc01,\r\n+        this.rc10 + m.rc10, this.rc11 + m.rc11)\r\n+\r\n+public function mat2.op_minus(mat2 m) returns mat2\r\n+    return mat2(\r\n+        this.rc00 - m.rc00, this.rc01 - m.rc01,\r\n+        this.rc10 - m.rc10, this.rc11 - m.rc11)\r\n+\r\n+public function mat2.op_minus(real scalar) returns mat2\r\n+    return mat2(\r\n+        this.rc00 - scalar, this.rc01 - scalar,\r\n+        this.rc10 - scalar, this.rc11 - scalar)\r\n+\r\n+public function mat2.op_plus(real scalar) returns mat2\r\n+    return mat2(\r\n+        this.rc00 + scalar, this.rc01 + scalar,\r\n+        this.rc10 + scalar, this.rc11 + scalar)\r\n+    \r\n+public function mat2.op_mult(real scalar) returns mat2\r\n+    return mat2(\r\n+        this.rc00*scalar, this.rc01*scalar,\r","path":"wurst/math/Matrices.wurst","position":53,"original_position":53,"commit_id":"39cb3cbc64ac0ca71d551e2f3b5488a9db1ea764","original_commit_id":"39cb3cbc64ac0ca71d551e2f3b5488a9db1ea764","user":{"login":"Frotty","id":1486037,"node_id":"MDQ6VXNlcjE0ODYwMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1486037?v=4","gravatar_id":"","url":"https://api.github.com/users/Frotty","html_url":"https://github.com/Frotty","followers_url":"https://api.github.com/users/Frotty/followers","following_url":"https://api.github.com/users/Frotty/following{/other_user}","gists_url":"https://api.github.com/users/Frotty/gists{/gist_id}","starred_url":"https://api.github.com/users/Frotty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frotty/subscriptions","organizations_url":"https://api.github.com/users/Frotty/orgs","repos_url":"https://api.github.com/users/Frotty/repos","events_url":"https://api.github.com/users/Frotty/events{/privacy}","received_events_url":"https://api.github.com/users/Frotty/received_events","type":"User","site_admin":false},"body":"You leave spaces around `-` and `+` but not `*`. Pls fix for `*`","created_at":"2018-08-31T20:16:14Z","updated_at":"2018-08-31T20:34:56Z","html_url":"https://github.com/wurstscript/WurstStdlib2/pull/111#discussion_r214464983","pull_request_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/111","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/comments/214464983"},"html":{"href":"https://github.com/wurstscript/WurstStdlib2/pull/111#discussion_r214464983"},"pull_request":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/111","id":212477059,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNDc3MDU5","html_url":"https://github.com/wurstscript/WurstStdlib2/pull/111","diff_url":"https://github.com/wurstscript/WurstStdlib2/pull/111.diff","patch_url":"https://github.com/wurstscript/WurstStdlib2/pull/111.patch","issue_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/111","number":111,"state":"open","locked":false,"title":"Matrices package","user":{"login":"GetLocalPlayer","id":19322847,"node_id":"MDQ6VXNlcjE5MzIyODQ3","avatar_url":"https://avatars3.githubusercontent.com/u/19322847?v=4","gravatar_id":"","url":"https://api.github.com/users/GetLocalPlayer","html_url":"https://github.com/GetLocalPlayer","followers_url":"https://api.github.com/users/GetLocalPlayer/followers","following_url":"https://api.github.com/users/GetLocalPlayer/following{/other_user}","gists_url":"https://api.github.com/users/GetLocalPlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/GetLocalPlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GetLocalPlayer/subscriptions","organizations_url":"https://api.github.com/users/GetLocalPlayer/orgs","repos_url":"https://api.github.com/users/GetLocalPlayer/repos","events_url":"https://api.github.com/users/GetLocalPlayer/events{/privacy}","received_events_url":"https://api.github.com/users/GetLocalPlayer/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-31T19:38:50Z","updated_at":"2018-08-31T20:34:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90cf7e215593def3efa34ffd62bbeca8ef84e64a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/111/commits","review_comments_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/111/comments","review_comment_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/111/comments","statuses_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/statuses/39cb3cbc64ac0ca71d551e2f3b5488a9db1ea764","head":{"label":"GetLocalPlayer:GetLocalPlayer-matrices","ref":"GetLocalPlayer-matrices","sha":"39cb3cbc64ac0ca71d551e2f3b5488a9db1ea764","user":{"login":"GetLocalPlayer","id":19322847,"node_id":"MDQ6VXNlcjE5MzIyODQ3","avatar_url":"https://avatars3.githubusercontent.com/u/19322847?v=4","gravatar_id":"","url":"https://api.github.com/users/GetLocalPlayer","html_url":"https://github.com/GetLocalPlayer","followers_url":"https://api.github.com/users/GetLocalPlayer/followers","following_url":"https://api.github.com/users/GetLocalPlayer/following{/other_user}","gists_url":"https://api.github.com/users/GetLocalPlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/GetLocalPlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GetLocalPlayer/subscriptions","organizations_url":"https://api.github.com/users/GetLocalPlayer/orgs","repos_url":"https://api.github.com/users/GetLocalPlayer/repos","events_url":"https://api.github.com/users/GetLocalPlayer/events{/privacy}","received_events_url":"https://api.github.com/users/GetLocalPlayer/received_events","type":"User","site_admin":false},"repo":{"id":146592714,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY1OTI3MTQ=","name":"WurstStdlib2","full_name":"GetLocalPlayer/WurstStdlib2","owner":{"login":"GetLocalPlayer","id":19322847,"node_id":"MDQ6VXNlcjE5MzIyODQ3","avatar_url":"https://avatars3.githubusercontent.com/u/19322847?v=4","gravatar_id":"","url":"https://api.github.com/users/GetLocalPlayer","html_url":"https://github.com/GetLocalPlayer","followers_url":"https://api.github.com/users/GetLocalPlayer/followers","following_url":"https://api.github.com/users/GetLocalPlayer/following{/other_user}","gists_url":"https://api.github.com/users/GetLocalPlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/GetLocalPlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GetLocalPlayer/subscriptions","organizations_url":"https://api.github.com/users/GetLocalPlayer/orgs","repos_url":"https://api.github.com/users/GetLocalPlayer/repos","events_url":"https://api.github.com/users/GetLocalPlayer/events{/privacy}","received_events_url":"https://api.github.com/users/GetLocalPlayer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GetLocalPlayer/WurstStdlib2","description":"WurstScript Standard Library Version 2","fork":true,"url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2","forks_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/forks","keys_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/teams","hooks_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/hooks","issue_events_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/issues/events{/number}","events_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/events","assignees_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/assignees{/user}","branches_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/branches{/branch}","tags_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/tags","blobs_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/git/refs{/sha}","trees_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/statuses/{sha}","languages_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/languages","stargazers_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/stargazers","contributors_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/contributors","subscribers_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/subscribers","subscription_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/subscription","commits_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/commits{/sha}","git_commits_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/git/commits{/sha}","comments_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/comments{/number}","issue_comment_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/issues/comments{/number}","contents_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/contents/{+path}","compare_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/merges","archive_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/downloads","issues_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/issues{/number}","pulls_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/pulls{/number}","milestones_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/milestones{/number}","notifications_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/labels{/name}","releases_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/releases{/id}","deployments_url":"https://api.github.com/repos/GetLocalPlayer/WurstStdlib2/deployments","created_at":"2018-08-29T11:53:43Z","updated_at":"2018-08-31T19:34:02Z","pushed_at":"2018-08-31T19:37:56Z","git_url":"git://github.com/GetLocalPlayer/WurstStdlib2.git","ssh_url":"git@github.com:GetLocalPlayer/WurstStdlib2.git","clone_url":"https://github.com/GetLocalPlayer/WurstStdlib2.git","svn_url":"https://github.com/GetLocalPlayer/WurstStdlib2","homepage":"","size":877,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wurstscript:master","ref":"master","sha":"88ef4030c3b920d3cc3865d8f00be88f26315f07","user":{"login":"wurstscript","id":30814797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODE0Nzk3","avatar_url":"https://avatars3.githubusercontent.com/u/30814797?v=4","gravatar_id":"","url":"https://api.github.com/users/wurstscript","html_url":"https://github.com/wurstscript","followers_url":"https://api.github.com/users/wurstscript/followers","following_url":"https://api.github.com/users/wurstscript/following{/other_user}","gists_url":"https://api.github.com/users/wurstscript/gists{/gist_id}","starred_url":"https://api.github.com/users/wurstscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurstscript/subscriptions","organizations_url":"https://api.github.com/users/wurstscript/orgs","repos_url":"https://api.github.com/users/wurstscript/repos","events_url":"https://api.github.com/users/wurstscript/events{/privacy}","received_events_url":"https://api.github.com/users/wurstscript/received_events","type":"Organization","site_admin":false},"repo":{"id":55271025,"node_id":"MDEwOlJlcG9zaXRvcnk1NTI3MTAyNQ==","name":"WurstStdlib2","full_name":"wurstscript/WurstStdlib2","owner":{"login":"wurstscript","id":30814797,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwODE0Nzk3","avatar_url":"https://avatars3.githubusercontent.com/u/30814797?v=4","gravatar_id":"","url":"https://api.github.com/users/wurstscript","html_url":"https://github.com/wurstscript","followers_url":"https://api.github.com/users/wurstscript/followers","following_url":"https://api.github.com/users/wurstscript/following{/other_user}","gists_url":"https://api.github.com/users/wurstscript/gists{/gist_id}","starred_url":"https://api.github.com/users/wurstscript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurstscript/subscriptions","organizations_url":"https://api.github.com/users/wurstscript/orgs","repos_url":"https://api.github.com/users/wurstscript/repos","events_url":"https://api.github.com/users/wurstscript/events{/privacy}","received_events_url":"https://api.github.com/users/wurstscript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wurstscript/WurstStdlib2","description":"WurstScript Standard Library Version 2","fork":false,"url":"https://api.github.com/repos/wurstscript/WurstStdlib2","forks_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/forks","keys_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/teams","hooks_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/hooks","issue_events_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/events{/number}","events_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/events","assignees_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/assignees{/user}","branches_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/branches{/branch}","tags_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/tags","blobs_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/refs{/sha}","trees_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/statuses/{sha}","languages_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/languages","stargazers_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/stargazers","contributors_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/contributors","subscribers_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/subscribers","subscription_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/subscription","commits_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/commits{/sha}","git_commits_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/git/commits{/sha}","comments_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/comments{/number}","issue_comment_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/comments{/number}","contents_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/contents/{+path}","compare_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/merges","archive_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/downloads","issues_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues{/number}","pulls_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls{/number}","milestones_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/milestones{/number}","notifications_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/labels{/name}","releases_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/releases{/id}","deployments_url":"https://api.github.com/repos/wurstscript/WurstStdlib2/deployments","created_at":"2016-04-02T00:54:25Z","updated_at":"2018-08-15T05:40:03Z","pushed_at":"2018-08-31T19:39:29Z","git_url":"git://github.com/wurstscript/WurstStdlib2.git","ssh_url":"git@github.com:wurstscript/WurstStdlib2.git","clone_url":"https://github.com/wurstscript/WurstStdlib2.git","svn_url":"https://github.com/wurstscript/WurstStdlib2","homepage":"","size":850,"stargazers_count":24,"watchers_count":24,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":19,"open_issues":5,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/111"},"html":{"href":"https://github.com/wurstscript/WurstStdlib2/pull/111"},"issue":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/111"},"comments":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/wurstscript/WurstStdlib2/statuses/39cb3cbc64ac0ca71d551e2f3b5488a9db1ea764"}},"author_association":"NONE"}}
{"actor":{"display_login":"Frotty"}}