{"action":"created","comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments/31199157","id":31199157,"diff_hunk":"@@ -341,7 +341,9 @@ class CC_DLL Terrain :public Node\n      * Ray-Terrain intersection.\n      * @return the intersection point\n      */\n-    Vec3 getIntersectionPoint(const Ray & ray);\n+    Vec3 getIntersectionPoint(const Ray & ray) const;\n+\n+    bool getIntersectionPoint(const Ray & ray, Vec3 & intersectionPoint) const;","path":"cocos/3d/CCTerrain.h","position":34,"original_position":34,"commit_id":"a5976a43f7838c2fd6aa75990762eaccf652f050","original_commit_id":"a5976a43f7838c2fd6aa75990762eaccf652f050","user":{"login":"andyque","id":785541,"avatar_url":"https://avatars.githubusercontent.com/u/785541?v=3","gravatar_id":"","url":"https://api.github.com/users/andyque","html_url":"https://github.com/andyque","followers_url":"https://api.github.com/users/andyque/followers","following_url":"https://api.github.com/users/andyque/following{/other_user}","gists_url":"https://api.github.com/users/andyque/gists{/gist_id}","starred_url":"https://api.github.com/users/andyque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyque/subscriptions","organizations_url":"https://api.github.com/users/andyque/orgs","repos_url":"https://api.github.com/users/andyque/repos","events_url":"https://api.github.com/users/andyque/events{/privacy}","received_events_url":"https://api.github.com/users/andyque/received_events","type":"User","site_admin":false},"body":"@super626  please add comment to this method","created_at":"2015-05-28T02:33:26Z","updated_at":"2015-05-28T02:33:26Z","html_url":"https://github.com/cocos2d/cocos2d-x/pull/12019#discussion_r31199157","pull_request_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/12019","_links":{"self":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments/31199157"},"html":{"href":"https://github.com/cocos2d/cocos2d-x/pull/12019#discussion_r31199157"},"pull_request":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/12019"}}},"pull_request":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/12019","id":36167402,"html_url":"https://github.com/cocos2d/cocos2d-x/pull/12019","diff_url":"https://github.com/cocos2d/cocos2d-x/pull/12019.diff","patch_url":"https://github.com/cocos2d/cocos2d-x/pull/12019.patch","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/12019","number":12019,"state":"open","locked":false,"title":"getIntersectionPoint failed when there is no intersection on the terrain","user":{"login":"super626","id":4159090,"avatar_url":"https://avatars.githubusercontent.com/u/4159090?v=3","gravatar_id":"","url":"https://api.github.com/users/super626","html_url":"https://github.com/super626","followers_url":"https://api.github.com/users/super626/followers","following_url":"https://api.github.com/users/super626/following{/other_user}","gists_url":"https://api.github.com/users/super626/gists{/gist_id}","starred_url":"https://api.github.com/users/super626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/super626/subscriptions","organizations_url":"https://api.github.com/users/super626/orgs","repos_url":"https://api.github.com/users/super626/repos","events_url":"https://api.github.com/users/super626/events{/privacy}","received_events_url":"https://api.github.com/users/super626/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-26T03:32:51Z","updated_at":"2015-05-28T02:33:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"477dfdf04bdb81603b0f60215162a42567336e2a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/12019/commits","review_comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/12019/comments","review_comment_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/12019/comments","statuses_url":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/a5976a43f7838c2fd6aa75990762eaccf652f050","head":{"label":"super626:v3","ref":"v3","sha":"a5976a43f7838c2fd6aa75990762eaccf652f050","user":{"login":"super626","id":4159090,"avatar_url":"https://avatars.githubusercontent.com/u/4159090?v=3","gravatar_id":"","url":"https://api.github.com/users/super626","html_url":"https://github.com/super626","followers_url":"https://api.github.com/users/super626/followers","following_url":"https://api.github.com/users/super626/following{/other_user}","gists_url":"https://api.github.com/users/super626/gists{/gist_id}","starred_url":"https://api.github.com/users/super626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/super626/subscriptions","organizations_url":"https://api.github.com/users/super626/orgs","repos_url":"https://api.github.com/users/super626/repos","events_url":"https://api.github.com/users/super626/events{/privacy}","received_events_url":"https://api.github.com/users/super626/received_events","type":"User","site_admin":false},"repo":{"id":18664943,"name":"cocos2d-x","full_name":"super626/cocos2d-x","owner":{"login":"super626","id":4159090,"avatar_url":"https://avatars.githubusercontent.com/u/4159090?v=3","gravatar_id":"","url":"https://api.github.com/users/super626","html_url":"https://github.com/super626","followers_url":"https://api.github.com/users/super626/followers","following_url":"https://api.github.com/users/super626/following{/other_user}","gists_url":"https://api.github.com/users/super626/gists{/gist_id}","starred_url":"https://api.github.com/users/super626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/super626/subscriptions","organizations_url":"https://api.github.com/users/super626/orgs","repos_url":"https://api.github.com/users/super626/repos","events_url":"https://api.github.com/users/super626/events{/privacy}","received_events_url":"https://api.github.com/users/super626/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/super626/cocos2d-x","description":"cocos2d-x for C++","fork":true,"url":"https://api.github.com/repos/super626/cocos2d-x","forks_url":"https://api.github.com/repos/super626/cocos2d-x/forks","keys_url":"https://api.github.com/repos/super626/cocos2d-x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/super626/cocos2d-x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/super626/cocos2d-x/teams","hooks_url":"https://api.github.com/repos/super626/cocos2d-x/hooks","issue_events_url":"https://api.github.com/repos/super626/cocos2d-x/issues/events{/number}","events_url":"https://api.github.com/repos/super626/cocos2d-x/events","assignees_url":"https://api.github.com/repos/super626/cocos2d-x/assignees{/user}","branches_url":"https://api.github.com/repos/super626/cocos2d-x/branches{/branch}","tags_url":"https://api.github.com/repos/super626/cocos2d-x/tags","blobs_url":"https://api.github.com/repos/super626/cocos2d-x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/super626/cocos2d-x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/super626/cocos2d-x/git/refs{/sha}","trees_url":"https://api.github.com/repos/super626/cocos2d-x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/super626/cocos2d-x/statuses/{sha}","languages_url":"https://api.github.com/repos/super626/cocos2d-x/languages","stargazers_url":"https://api.github.com/repos/super626/cocos2d-x/stargazers","contributors_url":"https://api.github.com/repos/super626/cocos2d-x/contributors","subscribers_url":"https://api.github.com/repos/super626/cocos2d-x/subscribers","subscription_url":"https://api.github.com/repos/super626/cocos2d-x/subscription","commits_url":"https://api.github.com/repos/super626/cocos2d-x/commits{/sha}","git_commits_url":"https://api.github.com/repos/super626/cocos2d-x/git/commits{/sha}","comments_url":"https://api.github.com/repos/super626/cocos2d-x/comments{/number}","issue_comment_url":"https://api.github.com/repos/super626/cocos2d-x/issues/comments{/number}","contents_url":"https://api.github.com/repos/super626/cocos2d-x/contents/{+path}","compare_url":"https://api.github.com/repos/super626/cocos2d-x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/super626/cocos2d-x/merges","archive_url":"https://api.github.com/repos/super626/cocos2d-x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/super626/cocos2d-x/downloads","issues_url":"https://api.github.com/repos/super626/cocos2d-x/issues{/number}","pulls_url":"https://api.github.com/repos/super626/cocos2d-x/pulls{/number}","milestones_url":"https://api.github.com/repos/super626/cocos2d-x/milestones{/number}","notifications_url":"https://api.github.com/repos/super626/cocos2d-x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/super626/cocos2d-x/labels{/name}","releases_url":"https://api.github.com/repos/super626/cocos2d-x/releases{/id}","created_at":"2014-04-11T06:39:38Z","updated_at":"2015-04-28T10:05:28Z","pushed_at":"2015-05-27T10:30:46Z","git_url":"git://github.com/super626/cocos2d-x.git","ssh_url":"git@github.com:super626/cocos2d-x.git","clone_url":"https://github.com/super626/cocos2d-x.git","svn_url":"https://github.com/super626/cocos2d-x","homepage":"http://www.cocos2d-x.org","size":978504,"stargazers_count":6,"watchers_count":6,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":6,"default_branch":"v3"}},"base":{"label":"cocos2d:v3","ref":"v3","sha":"3c7dfe82155874119390fe7277383d86fb399250","user":{"login":"cocos2d","id":234324,"avatar_url":"https://avatars.githubusercontent.com/u/234324?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos2d","html_url":"https://github.com/cocos2d","followers_url":"https://api.github.com/users/cocos2d/followers","following_url":"https://api.github.com/users/cocos2d/following{/other_user}","gists_url":"https://api.github.com/users/cocos2d/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos2d/subscriptions","organizations_url":"https://api.github.com/users/cocos2d/orgs","repos_url":"https://api.github.com/users/cocos2d/repos","events_url":"https://api.github.com/users/cocos2d/events{/privacy}","received_events_url":"https://api.github.com/users/cocos2d/received_events","type":"Organization","site_admin":false},"repo":{"id":1093228,"name":"cocos2d-x","full_name":"cocos2d/cocos2d-x","owner":{"login":"cocos2d","id":234324,"avatar_url":"https://avatars.githubusercontent.com/u/234324?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos2d","html_url":"https://github.com/cocos2d","followers_url":"https://api.github.com/users/cocos2d/followers","following_url":"https://api.github.com/users/cocos2d/following{/other_user}","gists_url":"https://api.github.com/users/cocos2d/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos2d/subscriptions","organizations_url":"https://api.github.com/users/cocos2d/orgs","repos_url":"https://api.github.com/users/cocos2d/repos","events_url":"https://api.github.com/users/cocos2d/events{/privacy}","received_events_url":"https://api.github.com/users/cocos2d/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocos2d/cocos2d-x","description":"cocos2d-x for C++","fork":false,"url":"https://api.github.com/repos/cocos2d/cocos2d-x","forks_url":"https://api.github.com/repos/cocos2d/cocos2d-x/forks","keys_url":"https://api.github.com/repos/cocos2d/cocos2d-x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocos2d/cocos2d-x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocos2d/cocos2d-x/teams","hooks_url":"https://api.github.com/repos/cocos2d/cocos2d-x/hooks","issue_events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/events{/number}","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/events","assignees_url":"https://api.github.com/repos/cocos2d/cocos2d-x/assignees{/user}","branches_url":"https://api.github.com/repos/cocos2d/cocos2d-x/branches{/branch}","tags_url":"https://api.github.com/repos/cocos2d/cocos2d-x/tags","blobs_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/{sha}","languages_url":"https://api.github.com/repos/cocos2d/cocos2d-x/languages","stargazers_url":"https://api.github.com/repos/cocos2d/cocos2d-x/stargazers","contributors_url":"https://api.github.com/repos/cocos2d/cocos2d-x/contributors","subscribers_url":"https://api.github.com/repos/cocos2d/cocos2d-x/subscribers","subscription_url":"https://api.github.com/repos/cocos2d/cocos2d-x/subscription","commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocos2d/cocos2d-x/contents/{+path}","compare_url":"https://api.github.com/repos/cocos2d/cocos2d-x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocos2d/cocos2d-x/merges","archive_url":"https://api.github.com/repos/cocos2d/cocos2d-x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocos2d/cocos2d-x/downloads","issues_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues{/number}","pulls_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls{/number}","milestones_url":"https://api.github.com/repos/cocos2d/cocos2d-x/milestones{/number}","notifications_url":"https://api.github.com/repos/cocos2d/cocos2d-x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/labels{/name}","releases_url":"https://api.github.com/repos/cocos2d/cocos2d-x/releases{/id}","created_at":"2010-11-18T23:17:00Z","updated_at":"2015-05-28T02:09:11Z","pushed_at":"2015-05-28T02:23:15Z","git_url":"git://github.com/cocos2d/cocos2d-x.git","ssh_url":"git@github.com:cocos2d/cocos2d-x.git","clone_url":"https://github.com/cocos2d/cocos2d-x.git","svn_url":"https://github.com/cocos2d/cocos2d-x","homepage":"http://www.cocos2d-x.org","size":1495376,"stargazers_count":5942,"watchers_count":5942,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4300,"mirror_url":null,"open_issues_count":666,"forks":4300,"open_issues":666,"watchers":5942,"default_branch":"v3"}},"_links":{"self":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/12019"},"html":{"href":"https://github.com/cocos2d/cocos2d-x/pull/12019"},"issue":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/12019"},"comments":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/12019/comments"},"review_comments":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/12019/comments"},"review_comment":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/12019/commits"},"statuses":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/a5976a43f7838c2fd6aa75990762eaccf652f050"}}}}