{"action":"created","comment":{"url":"https://api.github.com/repos/OsnaCS/plantex/pulls/comments/72063477","id":72063477,"diff_hunk":"@@ -153,3 +152,87 @@ impl PillarView {\n         }\n     }\n }\n+\n+\n+/// Calculates one Point-coordinates of a Hexagon\n+fn hex_corner(size: f32, i: i32) -> (f32, f32) {\n+    let angle_deg = 60.0 * (i as f32) + 30.0;\n+    let angle_rad = (consts::PI / 180.0) * angle_deg;\n+\n+    (size * angle_rad.cos(), size * angle_rad.sin())\n+}\n+/// Calculates the top face of the Hexagon and normals\n+pub fn get_top_hexagon_modell() -> (Vec<Vertex>, Vec<u32>) {","path":"client/src/world/chunk_view.rs","position":117,"original_position":117,"commit_id":"d6dba358944e7ea35046504cfc93ea4a3db42b58","original_commit_id":"d6dba358944e7ea35046504cfc93ea4a3db42b58","user":{"login":"jonas-schievink","id":1786438,"avatar_url":"https://avatars.githubusercontent.com/u/1786438?v=3","gravatar_id":"","url":"https://api.github.com/users/jonas-schievink","html_url":"https://github.com/jonas-schievink","followers_url":"https://api.github.com/users/jonas-schievink/followers","following_url":"https://api.github.com/users/jonas-schievink/following{/other_user}","gists_url":"https://api.github.com/users/jonas-schievink/gists{/gist_id}","starred_url":"https://api.github.com/users/jonas-schievink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonas-schievink/subscriptions","organizations_url":"https://api.github.com/users/jonas-schievink/orgs","repos_url":"https://api.github.com/users/jonas-schievink/repos","events_url":"https://api.github.com/users/jonas-schievink/events{/privacy}","received_events_url":"https://api.github.com/users/jonas-schievink/received_events","type":"User","site_admin":false},"body":"Do these functions need to be `pub`?","created_at":"2016-07-25T13:33:24Z","updated_at":"2016-07-25T13:33:24Z","html_url":"https://github.com/OsnaCS/plantex/pull/78#discussion_r72063477","pull_request_url":"https://api.github.com/repos/OsnaCS/plantex/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/OsnaCS/plantex/pulls/comments/72063477"},"html":{"href":"https://github.com/OsnaCS/plantex/pull/78#discussion_r72063477"},"pull_request":{"href":"https://api.github.com/repos/OsnaCS/plantex/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/OsnaCS/plantex/pulls/78","id":78676340,"html_url":"https://github.com/OsnaCS/plantex/pull/78","diff_url":"https://github.com/OsnaCS/plantex/pull/78.diff","patch_url":"https://github.com/OsnaCS/plantex/pull/78.patch","issue_url":"https://api.github.com/repos/OsnaCS/plantex/issues/78","number":78,"state":"open","locked":false,"title":"Redesigned Hexagon Models and implemented Normals","user":{"login":"NilsAffing","id":14051514,"avatar_url":"https://avatars.githubusercontent.com/u/14051514?v=3","gravatar_id":"","url":"https://api.github.com/users/NilsAffing","html_url":"https://github.com/NilsAffing","followers_url":"https://api.github.com/users/NilsAffing/followers","following_url":"https://api.github.com/users/NilsAffing/following{/other_user}","gists_url":"https://api.github.com/users/NilsAffing/gists{/gist_id}","starred_url":"https://api.github.com/users/NilsAffing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NilsAffing/subscriptions","organizations_url":"https://api.github.com/users/NilsAffing/orgs","repos_url":"https://api.github.com/users/NilsAffing/repos","events_url":"https://api.github.com/users/NilsAffing/events{/privacy}","received_events_url":"https://api.github.com/users/NilsAffing/received_events","type":"User","site_admin":false},"body":"Normals added and format changed.","created_at":"2016-07-25T12:56:52Z","updated_at":"2016-07-25T13:33:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OsnaCS/plantex/pulls/78/commits","review_comments_url":"https://api.github.com/repos/OsnaCS/plantex/pulls/78/comments","review_comment_url":"https://api.github.com/repos/OsnaCS/plantex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OsnaCS/plantex/issues/78/comments","statuses_url":"https://api.github.com/repos/OsnaCS/plantex/statuses/d6dba358944e7ea35046504cfc93ea4a3db42b58","head":{"label":"NilsAffing:master","ref":"master","sha":"d6dba358944e7ea35046504cfc93ea4a3db42b58","user":{"login":"NilsAffing","id":14051514,"avatar_url":"https://avatars.githubusercontent.com/u/14051514?v=3","gravatar_id":"","url":"https://api.github.com/users/NilsAffing","html_url":"https://github.com/NilsAffing","followers_url":"https://api.github.com/users/NilsAffing/followers","following_url":"https://api.github.com/users/NilsAffing/following{/other_user}","gists_url":"https://api.github.com/users/NilsAffing/gists{/gist_id}","starred_url":"https://api.github.com/users/NilsAffing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NilsAffing/subscriptions","organizations_url":"https://api.github.com/users/NilsAffing/orgs","repos_url":"https://api.github.com/users/NilsAffing/repos","events_url":"https://api.github.com/users/NilsAffing/events{/privacy}","received_events_url":"https://api.github.com/users/NilsAffing/received_events","type":"User","site_admin":false},"repo":{"id":63780561,"name":"plantex","full_name":"NilsAffing/plantex","owner":{"login":"NilsAffing","id":14051514,"avatar_url":"https://avatars.githubusercontent.com/u/14051514?v=3","gravatar_id":"","url":"https://api.github.com/users/NilsAffing","html_url":"https://github.com/NilsAffing","followers_url":"https://api.github.com/users/NilsAffing/followers","following_url":"https://api.github.com/users/NilsAffing/following{/other_user}","gists_url":"https://api.github.com/users/NilsAffing/gists{/gist_id}","starred_url":"https://api.github.com/users/NilsAffing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NilsAffing/subscriptions","organizations_url":"https://api.github.com/users/NilsAffing/orgs","repos_url":"https://api.github.com/users/NilsAffing/repos","events_url":"https://api.github.com/users/NilsAffing/events{/privacy}","received_events_url":"https://api.github.com/users/NilsAffing/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NilsAffing/plantex","description":":seedling: open-world game about plants :evergreen_tree: :leaves: :herb: :palm_tree:","fork":true,"url":"https://api.github.com/repos/NilsAffing/plantex","forks_url":"https://api.github.com/repos/NilsAffing/plantex/forks","keys_url":"https://api.github.com/repos/NilsAffing/plantex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NilsAffing/plantex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NilsAffing/plantex/teams","hooks_url":"https://api.github.com/repos/NilsAffing/plantex/hooks","issue_events_url":"https://api.github.com/repos/NilsAffing/plantex/issues/events{/number}","events_url":"https://api.github.com/repos/NilsAffing/plantex/events","assignees_url":"https://api.github.com/repos/NilsAffing/plantex/assignees{/user}","branches_url":"https://api.github.com/repos/NilsAffing/plantex/branches{/branch}","tags_url":"https://api.github.com/repos/NilsAffing/plantex/tags","blobs_url":"https://api.github.com/repos/NilsAffing/plantex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NilsAffing/plantex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NilsAffing/plantex/git/refs{/sha}","trees_url":"https://api.github.com/repos/NilsAffing/plantex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NilsAffing/plantex/statuses/{sha}","languages_url":"https://api.github.com/repos/NilsAffing/plantex/languages","stargazers_url":"https://api.github.com/repos/NilsAffing/plantex/stargazers","contributors_url":"https://api.github.com/repos/NilsAffing/plantex/contributors","subscribers_url":"https://api.github.com/repos/NilsAffing/plantex/subscribers","subscription_url":"https://api.github.com/repos/NilsAffing/plantex/subscription","commits_url":"https://api.github.com/repos/NilsAffing/plantex/commits{/sha}","git_commits_url":"https://api.github.com/repos/NilsAffing/plantex/git/commits{/sha}","comments_url":"https://api.github.com/repos/NilsAffing/plantex/comments{/number}","issue_comment_url":"https://api.github.com/repos/NilsAffing/plantex/issues/comments{/number}","contents_url":"https://api.github.com/repos/NilsAffing/plantex/contents/{+path}","compare_url":"https://api.github.com/repos/NilsAffing/plantex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NilsAffing/plantex/merges","archive_url":"https://api.github.com/repos/NilsAffing/plantex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NilsAffing/plantex/downloads","issues_url":"https://api.github.com/repos/NilsAffing/plantex/issues{/number}","pulls_url":"https://api.github.com/repos/NilsAffing/plantex/pulls{/number}","milestones_url":"https://api.github.com/repos/NilsAffing/plantex/milestones{/number}","notifications_url":"https://api.github.com/repos/NilsAffing/plantex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NilsAffing/plantex/labels{/name}","releases_url":"https://api.github.com/repos/NilsAffing/plantex/releases{/id}","deployments_url":"https://api.github.com/repos/NilsAffing/plantex/deployments","created_at":"2016-07-20T12:43:34Z","updated_at":"2016-07-20T12:43:35Z","pushed_at":"2016-07-25T13:32:18Z","git_url":"git://github.com/NilsAffing/plantex.git","ssh_url":"git@github.com:NilsAffing/plantex.git","clone_url":"https://github.com/NilsAffing/plantex.git","svn_url":"https://github.com/NilsAffing/plantex","homepage":null,"size":8405,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"OsnaCS:master","ref":"master","sha":"c79a77a5d066d1777604fa6a1b7dbda808dc6bde","user":{"login":"OsnaCS","id":8659522,"avatar_url":"https://avatars.githubusercontent.com/u/8659522?v=3","gravatar_id":"","url":"https://api.github.com/users/OsnaCS","html_url":"https://github.com/OsnaCS","followers_url":"https://api.github.com/users/OsnaCS/followers","following_url":"https://api.github.com/users/OsnaCS/following{/other_user}","gists_url":"https://api.github.com/users/OsnaCS/gists{/gist_id}","starred_url":"https://api.github.com/users/OsnaCS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OsnaCS/subscriptions","organizations_url":"https://api.github.com/users/OsnaCS/orgs","repos_url":"https://api.github.com/users/OsnaCS/repos","events_url":"https://api.github.com/users/OsnaCS/events{/privacy}","received_events_url":"https://api.github.com/users/OsnaCS/received_events","type":"Organization","site_admin":false},"repo":{"id":61811363,"name":"plantex","full_name":"OsnaCS/plantex","owner":{"login":"OsnaCS","id":8659522,"avatar_url":"https://avatars.githubusercontent.com/u/8659522?v=3","gravatar_id":"","url":"https://api.github.com/users/OsnaCS","html_url":"https://github.com/OsnaCS","followers_url":"https://api.github.com/users/OsnaCS/followers","following_url":"https://api.github.com/users/OsnaCS/following{/other_user}","gists_url":"https://api.github.com/users/OsnaCS/gists{/gist_id}","starred_url":"https://api.github.com/users/OsnaCS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OsnaCS/subscriptions","organizations_url":"https://api.github.com/users/OsnaCS/orgs","repos_url":"https://api.github.com/users/OsnaCS/repos","events_url":"https://api.github.com/users/OsnaCS/events{/privacy}","received_events_url":"https://api.github.com/users/OsnaCS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OsnaCS/plantex","description":":seedling: open-world game about plants :evergreen_tree: :leaves: :herb: :palm_tree:","fork":false,"url":"https://api.github.com/repos/OsnaCS/plantex","forks_url":"https://api.github.com/repos/OsnaCS/plantex/forks","keys_url":"https://api.github.com/repos/OsnaCS/plantex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OsnaCS/plantex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OsnaCS/plantex/teams","hooks_url":"https://api.github.com/repos/OsnaCS/plantex/hooks","issue_events_url":"https://api.github.com/repos/OsnaCS/plantex/issues/events{/number}","events_url":"https://api.github.com/repos/OsnaCS/plantex/events","assignees_url":"https://api.github.com/repos/OsnaCS/plantex/assignees{/user}","branches_url":"https://api.github.com/repos/OsnaCS/plantex/branches{/branch}","tags_url":"https://api.github.com/repos/OsnaCS/plantex/tags","blobs_url":"https://api.github.com/repos/OsnaCS/plantex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OsnaCS/plantex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OsnaCS/plantex/git/refs{/sha}","trees_url":"https://api.github.com/repos/OsnaCS/plantex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OsnaCS/plantex/statuses/{sha}","languages_url":"https://api.github.com/repos/OsnaCS/plantex/languages","stargazers_url":"https://api.github.com/repos/OsnaCS/plantex/stargazers","contributors_url":"https://api.github.com/repos/OsnaCS/plantex/contributors","subscribers_url":"https://api.github.com/repos/OsnaCS/plantex/subscribers","subscription_url":"https://api.github.com/repos/OsnaCS/plantex/subscription","commits_url":"https://api.github.com/repos/OsnaCS/plantex/commits{/sha}","git_commits_url":"https://api.github.com/repos/OsnaCS/plantex/git/commits{/sha}","comments_url":"https://api.github.com/repos/OsnaCS/plantex/comments{/number}","issue_comment_url":"https://api.github.com/repos/OsnaCS/plantex/issues/comments{/number}","contents_url":"https://api.github.com/repos/OsnaCS/plantex/contents/{+path}","compare_url":"https://api.github.com/repos/OsnaCS/plantex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OsnaCS/plantex/merges","archive_url":"https://api.github.com/repos/OsnaCS/plantex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OsnaCS/plantex/downloads","issues_url":"https://api.github.com/repos/OsnaCS/plantex/issues{/number}","pulls_url":"https://api.github.com/repos/OsnaCS/plantex/pulls{/number}","milestones_url":"https://api.github.com/repos/OsnaCS/plantex/milestones{/number}","notifications_url":"https://api.github.com/repos/OsnaCS/plantex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OsnaCS/plantex/labels{/name}","releases_url":"https://api.github.com/repos/OsnaCS/plantex/releases{/id}","deployments_url":"https://api.github.com/repos/OsnaCS/plantex/deployments","created_at":"2016-06-23T14:25:11Z","updated_at":"2016-07-24T18:35:00Z","pushed_at":"2016-07-25T13:32:19Z","git_url":"git://github.com/OsnaCS/plantex.git","ssh_url":"git@github.com:OsnaCS/plantex.git","clone_url":"https://github.com/OsnaCS/plantex.git","svn_url":"https://github.com/OsnaCS/plantex","homepage":null,"size":9996,"stargazers_count":8,"watchers_count":8,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"open_issues_count":25,"forks":23,"open_issues":25,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OsnaCS/plantex/pulls/78"},"html":{"href":"https://github.com/OsnaCS/plantex/pull/78"},"issue":{"href":"https://api.github.com/repos/OsnaCS/plantex/issues/78"},"comments":{"href":"https://api.github.com/repos/OsnaCS/plantex/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/OsnaCS/plantex/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/OsnaCS/plantex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OsnaCS/plantex/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/OsnaCS/plantex/statuses/d6dba358944e7ea35046504cfc93ea4a3db42b58"}}}}
{"actor":{"display_login":"jonas-schievink"}}