{"action":"created","issue":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/9491","repository_url":"https://api.github.com/repos/mrdoob/three.js","labels_url":"https://api.github.com/repos/mrdoob/three.js/issues/9491/labels{/name}","comments_url":"https://api.github.com/repos/mrdoob/three.js/issues/9491/comments","events_url":"https://api.github.com/repos/mrdoob/three.js/issues/9491/events","html_url":"https://github.com/mrdoob/three.js/issues/9491","id":170637579,"number":9491,"title":"Create THREE.DEG constant","user":{"login":"uMaxmaxmaximus","id":19378179,"avatar_url":"https://avatars.githubusercontent.com/u/19378179?v=3","gravatar_id":"","url":"https://api.github.com/users/uMaxmaxmaximus","html_url":"https://github.com/uMaxmaxmaximus","followers_url":"https://api.github.com/users/uMaxmaxmaximus/followers","following_url":"https://api.github.com/users/uMaxmaxmaximus/following{/other_user}","gists_url":"https://api.github.com/users/uMaxmaxmaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/uMaxmaxmaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uMaxmaxmaximus/subscriptions","organizations_url":"https://api.github.com/users/uMaxmaxmaximus/orgs","repos_url":"https://api.github.com/users/uMaxmaxmaximus/repos","events_url":"https://api.github.com/users/uMaxmaxmaximus/events{/privacy}","received_events_url":"https://api.github.com/users/uMaxmaxmaximus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-11T12:48:17Z","updated_at":"2016-08-11T23:27:45Z","closed_at":null,"body":"```javascript\r\nTHREE.DEG = Math.PI / 180\r\n```\r\n\r\nExample:\r\n\r\n```javascript\r\ngeometry.rotateY( 90 * THREE.DEG );\r\n```\r\nlooks better and shorter than:\r\n```javascript\r\ngeometry.rotateY( 90 * THREE.Math.DEG2RAD );\r\n```\r\n\r\nAnd looks semantically correct: \"geometry rotate by Y to ninety degrees\"\r\nvs: \"geometry rotate by Y to math ninety degrees to radians\"\r\n\r\nThere is no any particular reason to pack this constant in Math module, If it is so often used.\r\nAnd it will not cause confusion, but rather the opposite.\r\n\r\nPeople will not ask the question \"is the math, why is it not in THREE.Math ???\" because we will not remove THREE.Math.DEG2RAD."},"comment":{"url":"https://api.github.com/repos/mrdoob/three.js/issues/comments/239323649","html_url":"https://github.com/mrdoob/three.js/issues/9491#issuecomment-239323649","issue_url":"https://api.github.com/repos/mrdoob/three.js/issues/9491","id":239323649,"user":{"login":"uMaxmaxmaximus","id":19378179,"avatar_url":"https://avatars.githubusercontent.com/u/19378179?v=3","gravatar_id":"","url":"https://api.github.com/users/uMaxmaxmaximus","html_url":"https://github.com/uMaxmaxmaximus","followers_url":"https://api.github.com/users/uMaxmaxmaximus/followers","following_url":"https://api.github.com/users/uMaxmaxmaximus/following{/other_user}","gists_url":"https://api.github.com/users/uMaxmaxmaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/uMaxmaxmaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uMaxmaxmaximus/subscriptions","organizations_url":"https://api.github.com/users/uMaxmaxmaximus/orgs","repos_url":"https://api.github.com/users/uMaxmaxmaximus/repos","events_url":"https://api.github.com/users/uMaxmaxmaximus/events{/privacy}","received_events_url":"https://api.github.com/users/uMaxmaxmaximus/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T23:27:45Z","updated_at":"2016-08-11T23:27:45Z","body":"@mrdoob \r\n`THREE.DEG` It comprises a constant number of radians in a degree that may be obvious?\r\n\r\nPeople are not fools, people will remember it perfectly. People really are not stupid, jQuery has proven that people are easier to remember short names than long."}}
{"actor":{"display_login":"uMaxmaxmaximus"}}