{"action":"created","comment":{"url":"https://api.github.com/repos/tangrams/tangram/pulls/comments/22663829","id":22663829,"diff_hunk":"@@ -145,213 +195,99 @@ GLBuilders.buildPolylines = function (\n         closed_polygon,\n         remove_tile_edges,\n         texcoord_index,\n-        texcoord_scale\n+        texcoord_scale,\n+        scaling_index\n     }) {\n \n-    // Build triangles\n+    // Build variables\n     var vertices = [],\n-        texcoords = [],\n-        p,\n-        pa,\n-        pb,\n+        scalingVecs = scaling_index && [],   //  vertices directions for then (on GLSL vertex shader) extrude","path":"src/gl/gl_builders.js","position":78,"original_position":78,"commit_id":"93ef364fd24f436b8337485f62dc9619c0869d72","original_commit_id":"93ef364fd24f436b8337485f62dc9619c0869d72","user":{"login":"bcamper","id":16733,"avatar_url":"https://avatars.githubusercontent.com/u/16733?v=3","gravatar_id":"","url":"https://api.github.com/users/bcamper","html_url":"https://github.com/bcamper","followers_url":"https://api.github.com/users/bcamper/followers","following_url":"https://api.github.com/users/bcamper/following{/other_user}","gists_url":"https://api.github.com/users/bcamper/gists{/gist_id}","starred_url":"https://api.github.com/users/bcamper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcamper/subscriptions","organizations_url":"https://api.github.com/users/bcamper/orgs","repos_url":"https://api.github.com/users/bcamper/repos","events_url":"https://api.github.com/users/bcamper/events{/privacy}","received_events_url":"https://api.github.com/users/bcamper/received_events","type":"User","site_admin":false},"body":"Initialize these inside the top of the line loop instead.","created_at":"2015-01-08T16:53:49Z","updated_at":"2015-01-08T16:53:49Z","html_url":"https://github.com/tangrams/tangram/pull/79#discussion_r22663829","pull_request_url":"https://api.github.com/repos/tangrams/tangram/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/tangrams/tangram/pulls/comments/22663829"},"html":{"href":"https://github.com/tangrams/tangram/pull/79#discussion_r22663829"},"pull_request":{"href":"https://api.github.com/repos/tangrams/tangram/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/tangrams/tangram/pulls/79","id":26973025,"html_url":"https://github.com/tangrams/tangram/pull/79","diff_url":"https://github.com/tangrams/tangram/pull/79.diff","patch_url":"https://github.com/tangrams/tangram/pull/79.patch","issue_url":"https://api.github.com/repos/tangrams/tangram/issues/79","number":79,"state":"open","locked":false,"title":"Polyline","user":{"login":"patriciogonzalezvivo","id":346914,"avatar_url":"https://avatars.githubusercontent.com/u/346914?v=3","gravatar_id":"","url":"https://api.github.com/users/patriciogonzalezvivo","html_url":"https://github.com/patriciogonzalezvivo","followers_url":"https://api.github.com/users/patriciogonzalezvivo/followers","following_url":"https://api.github.com/users/patriciogonzalezvivo/following{/other_user}","gists_url":"https://api.github.com/users/patriciogonzalezvivo/gists{/gist_id}","starred_url":"https://api.github.com/users/patriciogonzalezvivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriciogonzalezvivo/subscriptions","organizations_url":"https://api.github.com/users/patriciogonzalezvivo/orgs","repos_url":"https://api.github.com/users/patriciogonzalezvivo/repos","events_url":"https://api.github.com/users/patriciogonzalezvivo/events{/privacy}","received_events_url":"https://api.github.com/users/patriciogonzalezvivo/received_events","type":"User","site_admin":false},"body":"First round","created_at":"2015-01-07T17:31:41Z","updated_at":"2015-01-08T16:53:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"526bf425a7f68e73ff44cfa95f21626856c02e58","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tangrams/tangram/pulls/79/commits","review_comments_url":"https://api.github.com/repos/tangrams/tangram/pulls/79/comments","review_comment_url":"https://api.github.com/repos/tangrams/tangram/pulls/comments/{number}","comments_url":"https://api.github.com/repos/tangrams/tangram/issues/79/comments","statuses_url":"https://api.github.com/repos/tangrams/tangram/statuses/93ef364fd24f436b8337485f62dc9619c0869d72","head":{"label":"tangrams:polyline","ref":"polyline","sha":"93ef364fd24f436b8337485f62dc9619c0869d72","user":{"login":"tangrams","id":8495302,"avatar_url":"https://avatars.githubusercontent.com/u/8495302?v=3","gravatar_id":"","url":"https://api.github.com/users/tangrams","html_url":"https://github.com/tangrams","followers_url":"https://api.github.com/users/tangrams/followers","following_url":"https://api.github.com/users/tangrams/following{/other_user}","gists_url":"https://api.github.com/users/tangrams/gists{/gist_id}","starred_url":"https://api.github.com/users/tangrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangrams/subscriptions","organizations_url":"https://api.github.com/users/tangrams/orgs","repos_url":"https://api.github.com/users/tangrams/repos","events_url":"https://api.github.com/users/tangrams/events{/privacy}","received_events_url":"https://api.github.com/users/tangrams/received_events","type":"Organization","site_admin":false},"repo":{"id":13203894,"name":"tangram","full_name":"tangrams/tangram","owner":{"login":"tangrams","id":8495302,"avatar_url":"https://avatars.githubusercontent.com/u/8495302?v=3","gravatar_id":"","url":"https://api.github.com/users/tangrams","html_url":"https://github.com/tangrams","followers_url":"https://api.github.com/users/tangrams/followers","following_url":"https://api.github.com/users/tangrams/following{/other_user}","gists_url":"https://api.github.com/users/tangrams/gists{/gist_id}","starred_url":"https://api.github.com/users/tangrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangrams/subscriptions","organizations_url":"https://api.github.com/users/tangrams/orgs","repos_url":"https://api.github.com/users/tangrams/repos","events_url":"https://api.github.com/users/tangrams/events{/privacy}","received_events_url":"https://api.github.com/users/tangrams/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tangrams/tangram","description":"WebGL for OpenStreetMap","fork":false,"url":"https://api.github.com/repos/tangrams/tangram","forks_url":"https://api.github.com/repos/tangrams/tangram/forks","keys_url":"https://api.github.com/repos/tangrams/tangram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tangrams/tangram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tangrams/tangram/teams","hooks_url":"https://api.github.com/repos/tangrams/tangram/hooks","issue_events_url":"https://api.github.com/repos/tangrams/tangram/issues/events{/number}","events_url":"https://api.github.com/repos/tangrams/tangram/events","assignees_url":"https://api.github.com/repos/tangrams/tangram/assignees{/user}","branches_url":"https://api.github.com/repos/tangrams/tangram/branches{/branch}","tags_url":"https://api.github.com/repos/tangrams/tangram/tags","blobs_url":"https://api.github.com/repos/tangrams/tangram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tangrams/tangram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tangrams/tangram/git/refs{/sha}","trees_url":"https://api.github.com/repos/tangrams/tangram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tangrams/tangram/statuses/{sha}","languages_url":"https://api.github.com/repos/tangrams/tangram/languages","stargazers_url":"https://api.github.com/repos/tangrams/tangram/stargazers","contributors_url":"https://api.github.com/repos/tangrams/tangram/contributors","subscribers_url":"https://api.github.com/repos/tangrams/tangram/subscribers","subscription_url":"https://api.github.com/repos/tangrams/tangram/subscription","commits_url":"https://api.github.com/repos/tangrams/tangram/commits{/sha}","git_commits_url":"https://api.github.com/repos/tangrams/tangram/git/commits{/sha}","comments_url":"https://api.github.com/repos/tangrams/tangram/comments{/number}","issue_comment_url":"https://api.github.com/repos/tangrams/tangram/issues/comments/{number}","contents_url":"https://api.github.com/repos/tangrams/tangram/contents/{+path}","compare_url":"https://api.github.com/repos/tangrams/tangram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tangrams/tangram/merges","archive_url":"https://api.github.com/repos/tangrams/tangram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tangrams/tangram/downloads","issues_url":"https://api.github.com/repos/tangrams/tangram/issues{/number}","pulls_url":"https://api.github.com/repos/tangrams/tangram/pulls{/number}","milestones_url":"https://api.github.com/repos/tangrams/tangram/milestones{/number}","notifications_url":"https://api.github.com/repos/tangrams/tangram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tangrams/tangram/labels{/name}","releases_url":"https://api.github.com/repos/tangrams/tangram/releases{/id}","created_at":"2013-09-30T01:59:45Z","updated_at":"2015-01-04T05:11:38Z","pushed_at":"2015-01-08T15:24:43Z","git_url":"git://github.com/tangrams/tangram.git","ssh_url":"git@github.com:tangrams/tangram.git","clone_url":"https://github.com/tangrams/tangram.git","svn_url":"https://github.com/tangrams/tangram","homepage":"http://mapzen.com/tangram","size":66109,"stargazers_count":154,"watchers_count":154,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":17,"mirror_url":null,"open_issues_count":3,"forks":17,"open_issues":3,"watchers":154,"default_branch":"master"}},"base":{"label":"tangrams:master","ref":"master","sha":"4a16fb765ec3d94fcc7b76261faa9aff1414ae46","user":{"login":"tangrams","id":8495302,"avatar_url":"https://avatars.githubusercontent.com/u/8495302?v=3","gravatar_id":"","url":"https://api.github.com/users/tangrams","html_url":"https://github.com/tangrams","followers_url":"https://api.github.com/users/tangrams/followers","following_url":"https://api.github.com/users/tangrams/following{/other_user}","gists_url":"https://api.github.com/users/tangrams/gists{/gist_id}","starred_url":"https://api.github.com/users/tangrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangrams/subscriptions","organizations_url":"https://api.github.com/users/tangrams/orgs","repos_url":"https://api.github.com/users/tangrams/repos","events_url":"https://api.github.com/users/tangrams/events{/privacy}","received_events_url":"https://api.github.com/users/tangrams/received_events","type":"Organization","site_admin":false},"repo":{"id":13203894,"name":"tangram","full_name":"tangrams/tangram","owner":{"login":"tangrams","id":8495302,"avatar_url":"https://avatars.githubusercontent.com/u/8495302?v=3","gravatar_id":"","url":"https://api.github.com/users/tangrams","html_url":"https://github.com/tangrams","followers_url":"https://api.github.com/users/tangrams/followers","following_url":"https://api.github.com/users/tangrams/following{/other_user}","gists_url":"https://api.github.com/users/tangrams/gists{/gist_id}","starred_url":"https://api.github.com/users/tangrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangrams/subscriptions","organizations_url":"https://api.github.com/users/tangrams/orgs","repos_url":"https://api.github.com/users/tangrams/repos","events_url":"https://api.github.com/users/tangrams/events{/privacy}","received_events_url":"https://api.github.com/users/tangrams/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tangrams/tangram","description":"WebGL for OpenStreetMap","fork":false,"url":"https://api.github.com/repos/tangrams/tangram","forks_url":"https://api.github.com/repos/tangrams/tangram/forks","keys_url":"https://api.github.com/repos/tangrams/tangram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tangrams/tangram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tangrams/tangram/teams","hooks_url":"https://api.github.com/repos/tangrams/tangram/hooks","issue_events_url":"https://api.github.com/repos/tangrams/tangram/issues/events{/number}","events_url":"https://api.github.com/repos/tangrams/tangram/events","assignees_url":"https://api.github.com/repos/tangrams/tangram/assignees{/user}","branches_url":"https://api.github.com/repos/tangrams/tangram/branches{/branch}","tags_url":"https://api.github.com/repos/tangrams/tangram/tags","blobs_url":"https://api.github.com/repos/tangrams/tangram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tangrams/tangram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tangrams/tangram/git/refs{/sha}","trees_url":"https://api.github.com/repos/tangrams/tangram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tangrams/tangram/statuses/{sha}","languages_url":"https://api.github.com/repos/tangrams/tangram/languages","stargazers_url":"https://api.github.com/repos/tangrams/tangram/stargazers","contributors_url":"https://api.github.com/repos/tangrams/tangram/contributors","subscribers_url":"https://api.github.com/repos/tangrams/tangram/subscribers","subscription_url":"https://api.github.com/repos/tangrams/tangram/subscription","commits_url":"https://api.github.com/repos/tangrams/tangram/commits{/sha}","git_commits_url":"https://api.github.com/repos/tangrams/tangram/git/commits{/sha}","comments_url":"https://api.github.com/repos/tangrams/tangram/comments{/number}","issue_comment_url":"https://api.github.com/repos/tangrams/tangram/issues/comments/{number}","contents_url":"https://api.github.com/repos/tangrams/tangram/contents/{+path}","compare_url":"https://api.github.com/repos/tangrams/tangram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tangrams/tangram/merges","archive_url":"https://api.github.com/repos/tangrams/tangram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tangrams/tangram/downloads","issues_url":"https://api.github.com/repos/tangrams/tangram/issues{/number}","pulls_url":"https://api.github.com/repos/tangrams/tangram/pulls{/number}","milestones_url":"https://api.github.com/repos/tangrams/tangram/milestones{/number}","notifications_url":"https://api.github.com/repos/tangrams/tangram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tangrams/tangram/labels{/name}","releases_url":"https://api.github.com/repos/tangrams/tangram/releases{/id}","created_at":"2013-09-30T01:59:45Z","updated_at":"2015-01-04T05:11:38Z","pushed_at":"2015-01-08T15:24:43Z","git_url":"git://github.com/tangrams/tangram.git","ssh_url":"git@github.com:tangrams/tangram.git","clone_url":"https://github.com/tangrams/tangram.git","svn_url":"https://github.com/tangrams/tangram","homepage":"http://mapzen.com/tangram","size":66109,"stargazers_count":154,"watchers_count":154,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":17,"mirror_url":null,"open_issues_count":3,"forks":17,"open_issues":3,"watchers":154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tangrams/tangram/pulls/79"},"html":{"href":"https://github.com/tangrams/tangram/pull/79"},"issue":{"href":"https://api.github.com/repos/tangrams/tangram/issues/79"},"comments":{"href":"https://api.github.com/repos/tangrams/tangram/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/tangrams/tangram/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/tangrams/tangram/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/tangrams/tangram/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/tangrams/tangram/statuses/93ef364fd24f436b8337485f62dc9619c0869d72"}}}}