{"action":"closed","number":48,"pull_request":{"url":"https://api.github.com/repos/rougier/freetype-gl/pulls/48","id":29321280,"html_url":"https://github.com/rougier/freetype-gl/pull/48","diff_url":"https://github.com/rougier/freetype-gl/pull/48.diff","patch_url":"https://github.com/rougier/freetype-gl/pull/48.patch","issue_url":"https://api.github.com/repos/rougier/freetype-gl/issues/48","number":48,"state":"closed","locked":false,"title":"Add ftgl namespace.","user":{"login":"andystanton","id":1374614,"avatar_url":"https://avatars.githubusercontent.com/u/1374614?v=3","gravatar_id":"","url":"https://api.github.com/users/andystanton","html_url":"https://github.com/andystanton","followers_url":"https://api.github.com/users/andystanton/followers","following_url":"https://api.github.com/users/andystanton/following{/other_user}","gists_url":"https://api.github.com/users/andystanton/gists{/gist_id}","starred_url":"https://api.github.com/users/andystanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andystanton/subscriptions","organizations_url":"https://api.github.com/users/andystanton/orgs","repos_url":"https://api.github.com/users/andystanton/repos","events_url":"https://api.github.com/users/andystanton/events{/privacy}","received_events_url":"https://api.github.com/users/andystanton/received_events","type":"User","site_admin":false},"body":"Implementation of the idea discussed by @Trouvist and @rougier in rougier/freetype-gl#40.\r\n\r\n * Added ftgl namespace in all freetype-gl headers, guarded by ```ifdef __cplusplus```\r\n * Using this namespace by default in freetype-gl.h\r\n * Allow override of the default with NOT_USING_FT_GL_NAMESPACE\r\n\r\n### Usage\r\n\r\n```cpp\r\n#define NOT_USING_FT_GL_NAMESPACE\r\n\r\n#include <freetype-gl.h>\r\n#include <glm/glm.hpp>\r\n\r\nftgl::vec2 foo = {{100, 200}};\r\nglm::vec2 bar = {10, 20};\r\n```\r\n\r\nApologies, looks like my editor introduced some whitespace changes.","created_at":"2015-02-14T15:14:50Z","updated_at":"2015-02-15T16:46:27Z","closed_at":"2015-02-15T16:46:27Z","merged_at":"2015-02-15T16:46:27Z","merge_commit_sha":"99665111c87d24ef29af2d380e83cc87be97cef7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rougier/freetype-gl/pulls/48/commits","review_comments_url":"https://api.github.com/repos/rougier/freetype-gl/pulls/48/comments","review_comment_url":"https://api.github.com/repos/rougier/freetype-gl/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rougier/freetype-gl/issues/48/comments","statuses_url":"https://api.github.com/repos/rougier/freetype-gl/statuses/6a9756aed78cf260d7542af9bbfa24ff0c9b3181","head":{"label":"andystanton:feature/add-ftglm-namespace","ref":"feature/add-ftglm-namespace","sha":"6a9756aed78cf260d7542af9bbfa24ff0c9b3181","user":{"login":"andystanton","id":1374614,"avatar_url":"https://avatars.githubusercontent.com/u/1374614?v=3","gravatar_id":"","url":"https://api.github.com/users/andystanton","html_url":"https://github.com/andystanton","followers_url":"https://api.github.com/users/andystanton/followers","following_url":"https://api.github.com/users/andystanton/following{/other_user}","gists_url":"https://api.github.com/users/andystanton/gists{/gist_id}","starred_url":"https://api.github.com/users/andystanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andystanton/subscriptions","organizations_url":"https://api.github.com/users/andystanton/orgs","repos_url":"https://api.github.com/users/andystanton/repos","events_url":"https://api.github.com/users/andystanton/events{/privacy}","received_events_url":"https://api.github.com/users/andystanton/received_events","type":"User","site_admin":false},"repo":{"id":30765356,"name":"freetype-gl","full_name":"andystanton/freetype-gl","owner":{"login":"andystanton","id":1374614,"avatar_url":"https://avatars.githubusercontent.com/u/1374614?v=3","gravatar_id":"","url":"https://api.github.com/users/andystanton","html_url":"https://github.com/andystanton","followers_url":"https://api.github.com/users/andystanton/followers","following_url":"https://api.github.com/users/andystanton/following{/other_user}","gists_url":"https://api.github.com/users/andystanton/gists{/gist_id}","starred_url":"https://api.github.com/users/andystanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andystanton/subscriptions","organizations_url":"https://api.github.com/users/andystanton/orgs","repos_url":"https://api.github.com/users/andystanton/repos","events_url":"https://api.github.com/users/andystanton/events{/privacy}","received_events_url":"https://api.github.com/users/andystanton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andystanton/freetype-gl","description":"OpenGL text using one vertex buffer, one texture and FreeType","fork":true,"url":"https://api.github.com/repos/andystanton/freetype-gl","forks_url":"https://api.github.com/repos/andystanton/freetype-gl/forks","keys_url":"https://api.github.com/repos/andystanton/freetype-gl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andystanton/freetype-gl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andystanton/freetype-gl/teams","hooks_url":"https://api.github.com/repos/andystanton/freetype-gl/hooks","issue_events_url":"https://api.github.com/repos/andystanton/freetype-gl/issues/events{/number}","events_url":"https://api.github.com/repos/andystanton/freetype-gl/events","assignees_url":"https://api.github.com/repos/andystanton/freetype-gl/assignees{/user}","branches_url":"https://api.github.com/repos/andystanton/freetype-gl/branches{/branch}","tags_url":"https://api.github.com/repos/andystanton/freetype-gl/tags","blobs_url":"https://api.github.com/repos/andystanton/freetype-gl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andystanton/freetype-gl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andystanton/freetype-gl/git/refs{/sha}","trees_url":"https://api.github.com/repos/andystanton/freetype-gl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andystanton/freetype-gl/statuses/{sha}","languages_url":"https://api.github.com/repos/andystanton/freetype-gl/languages","stargazers_url":"https://api.github.com/repos/andystanton/freetype-gl/stargazers","contributors_url":"https://api.github.com/repos/andystanton/freetype-gl/contributors","subscribers_url":"https://api.github.com/repos/andystanton/freetype-gl/subscribers","subscription_url":"https://api.github.com/repos/andystanton/freetype-gl/subscription","commits_url":"https://api.github.com/repos/andystanton/freetype-gl/commits{/sha}","git_commits_url":"https://api.github.com/repos/andystanton/freetype-gl/git/commits{/sha}","comments_url":"https://api.github.com/repos/andystanton/freetype-gl/comments{/number}","issue_comment_url":"https://api.github.com/repos/andystanton/freetype-gl/issues/comments/{number}","contents_url":"https://api.github.com/repos/andystanton/freetype-gl/contents/{+path}","compare_url":"https://api.github.com/repos/andystanton/freetype-gl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andystanton/freetype-gl/merges","archive_url":"https://api.github.com/repos/andystanton/freetype-gl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andystanton/freetype-gl/downloads","issues_url":"https://api.github.com/repos/andystanton/freetype-gl/issues{/number}","pulls_url":"https://api.github.com/repos/andystanton/freetype-gl/pulls{/number}","milestones_url":"https://api.github.com/repos/andystanton/freetype-gl/milestones{/number}","notifications_url":"https://api.github.com/repos/andystanton/freetype-gl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andystanton/freetype-gl/labels{/name}","releases_url":"https://api.github.com/repos/andystanton/freetype-gl/releases{/id}","created_at":"2015-02-13T16:40:40Z","updated_at":"2015-02-13T16:40:42Z","pushed_at":"2015-02-15T15:00:00Z","git_url":"git://github.com/andystanton/freetype-gl.git","ssh_url":"git@github.com:andystanton/freetype-gl.git","clone_url":"https://github.com/andystanton/freetype-gl.git","svn_url":"https://github.com/andystanton/freetype-gl","homepage":null,"size":4846,"stargazers_count":0,"watchers_count":0,"language":"C","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":"rougier:master","ref":"master","sha":"14b0e660ff368dd96564bd4aae2c3e86a8870555","user":{"login":"rougier","id":327203,"avatar_url":"https://avatars.githubusercontent.com/u/327203?v=3","gravatar_id":"","url":"https://api.github.com/users/rougier","html_url":"https://github.com/rougier","followers_url":"https://api.github.com/users/rougier/followers","following_url":"https://api.github.com/users/rougier/following{/other_user}","gists_url":"https://api.github.com/users/rougier/gists{/gist_id}","starred_url":"https://api.github.com/users/rougier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rougier/subscriptions","organizations_url":"https://api.github.com/users/rougier/orgs","repos_url":"https://api.github.com/users/rougier/repos","events_url":"https://api.github.com/users/rougier/events{/privacy}","received_events_url":"https://api.github.com/users/rougier/received_events","type":"User","site_admin":false},"repo":{"id":13210710,"name":"freetype-gl","full_name":"rougier/freetype-gl","owner":{"login":"rougier","id":327203,"avatar_url":"https://avatars.githubusercontent.com/u/327203?v=3","gravatar_id":"","url":"https://api.github.com/users/rougier","html_url":"https://github.com/rougier","followers_url":"https://api.github.com/users/rougier/followers","following_url":"https://api.github.com/users/rougier/following{/other_user}","gists_url":"https://api.github.com/users/rougier/gists{/gist_id}","starred_url":"https://api.github.com/users/rougier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rougier/subscriptions","organizations_url":"https://api.github.com/users/rougier/orgs","repos_url":"https://api.github.com/users/rougier/repos","events_url":"https://api.github.com/users/rougier/events{/privacy}","received_events_url":"https://api.github.com/users/rougier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rougier/freetype-gl","description":"OpenGL text using one vertex buffer, one texture and FreeType","fork":false,"url":"https://api.github.com/repos/rougier/freetype-gl","forks_url":"https://api.github.com/repos/rougier/freetype-gl/forks","keys_url":"https://api.github.com/repos/rougier/freetype-gl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rougier/freetype-gl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rougier/freetype-gl/teams","hooks_url":"https://api.github.com/repos/rougier/freetype-gl/hooks","issue_events_url":"https://api.github.com/repos/rougier/freetype-gl/issues/events{/number}","events_url":"https://api.github.com/repos/rougier/freetype-gl/events","assignees_url":"https://api.github.com/repos/rougier/freetype-gl/assignees{/user}","branches_url":"https://api.github.com/repos/rougier/freetype-gl/branches{/branch}","tags_url":"https://api.github.com/repos/rougier/freetype-gl/tags","blobs_url":"https://api.github.com/repos/rougier/freetype-gl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rougier/freetype-gl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rougier/freetype-gl/git/refs{/sha}","trees_url":"https://api.github.com/repos/rougier/freetype-gl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rougier/freetype-gl/statuses/{sha}","languages_url":"https://api.github.com/repos/rougier/freetype-gl/languages","stargazers_url":"https://api.github.com/repos/rougier/freetype-gl/stargazers","contributors_url":"https://api.github.com/repos/rougier/freetype-gl/contributors","subscribers_url":"https://api.github.com/repos/rougier/freetype-gl/subscribers","subscription_url":"https://api.github.com/repos/rougier/freetype-gl/subscription","commits_url":"https://api.github.com/repos/rougier/freetype-gl/commits{/sha}","git_commits_url":"https://api.github.com/repos/rougier/freetype-gl/git/commits{/sha}","comments_url":"https://api.github.com/repos/rougier/freetype-gl/comments{/number}","issue_comment_url":"https://api.github.com/repos/rougier/freetype-gl/issues/comments/{number}","contents_url":"https://api.github.com/repos/rougier/freetype-gl/contents/{+path}","compare_url":"https://api.github.com/repos/rougier/freetype-gl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rougier/freetype-gl/merges","archive_url":"https://api.github.com/repos/rougier/freetype-gl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rougier/freetype-gl/downloads","issues_url":"https://api.github.com/repos/rougier/freetype-gl/issues{/number}","pulls_url":"https://api.github.com/repos/rougier/freetype-gl/pulls{/number}","milestones_url":"https://api.github.com/repos/rougier/freetype-gl/milestones{/number}","notifications_url":"https://api.github.com/repos/rougier/freetype-gl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rougier/freetype-gl/labels{/name}","releases_url":"https://api.github.com/repos/rougier/freetype-gl/releases{/id}","created_at":"2013-09-30T09:01:42Z","updated_at":"2015-02-15T14:41:14Z","pushed_at":"2015-02-15T16:46:27Z","git_url":"git://github.com/rougier/freetype-gl.git","ssh_url":"git@github.com:rougier/freetype-gl.git","clone_url":"https://github.com/rougier/freetype-gl.git","svn_url":"https://github.com/rougier/freetype-gl","homepage":null,"size":5487,"stargazers_count":237,"watchers_count":237,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":8,"forks":51,"open_issues":8,"watchers":237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rougier/freetype-gl/pulls/48"},"html":{"href":"https://github.com/rougier/freetype-gl/pull/48"},"issue":{"href":"https://api.github.com/repos/rougier/freetype-gl/issues/48"},"comments":{"href":"https://api.github.com/repos/rougier/freetype-gl/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/rougier/freetype-gl/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/rougier/freetype-gl/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rougier/freetype-gl/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/rougier/freetype-gl/statuses/6a9756aed78cf260d7542af9bbfa24ff0c9b3181"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rougier","id":327203,"avatar_url":"https://avatars.githubusercontent.com/u/327203?v=3","gravatar_id":"","url":"https://api.github.com/users/rougier","html_url":"https://github.com/rougier","followers_url":"https://api.github.com/users/rougier/followers","following_url":"https://api.github.com/users/rougier/following{/other_user}","gists_url":"https://api.github.com/users/rougier/gists{/gist_id}","starred_url":"https://api.github.com/users/rougier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rougier/subscriptions","organizations_url":"https://api.github.com/users/rougier/orgs","repos_url":"https://api.github.com/users/rougier/repos","events_url":"https://api.github.com/users/rougier/events{/privacy}","received_events_url":"https://api.github.com/users/rougier/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":1,"additions":106,"deletions":52,"changed_files":15}}