{"action":"created","issue":{"url":"https://api.github.com/repos/bjz/cgmath-rs/issues/226","labels_url":"https://api.github.com/repos/bjz/cgmath-rs/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/bjz/cgmath-rs/issues/226/comments","events_url":"https://api.github.com/repos/bjz/cgmath-rs/issues/226/events","html_url":"https://github.com/bjz/cgmath-rs/issues/226","id":103075946,"number":226,"title":"Add a camera","user":{"login":"Yamakaky","id":1327378,"avatar_url":"https://avatars.githubusercontent.com/u/1327378?v=3","gravatar_id":"","url":"https://api.github.com/users/Yamakaky","html_url":"https://github.com/Yamakaky","followers_url":"https://api.github.com/users/Yamakaky/followers","following_url":"https://api.github.com/users/Yamakaky/following{/other_user}","gists_url":"https://api.github.com/users/Yamakaky/gists{/gist_id}","starred_url":"https://api.github.com/users/Yamakaky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yamakaky/subscriptions","organizations_url":"https://api.github.com/users/Yamakaky/orgs","repos_url":"https://api.github.com/users/Yamakaky/repos","events_url":"https://api.github.com/users/Yamakaky/events{/privacy}","received_events_url":"https://api.github.com/users/Yamakaky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-25T17:22:57Z","updated_at":"2015-08-27T16:13:03Z","closed_at":null,"body":"Did you consider adding a Camera ? It would have a position, yaw, pitch, roll, view_matrix() and setters so -pi/2 < pitch < pi/2 and 0 < yaw < 2pi. Nearly every 3d program uses a camera. It could also be a function like `cgmath::perspective` : `fn view_matrix(eye: Point3, yaw: Rad, pitch: Rad, roll: Rad) -> Matrix4`\r\n\r\nEdit: I know about `look_at`, but I don't find it really useful to implement a fps camera."},"comment":{"url":"https://api.github.com/repos/bjz/cgmath-rs/issues/comments/135481623","html_url":"https://github.com/bjz/cgmath-rs/issues/226#issuecomment-135481623","issue_url":"https://api.github.com/repos/bjz/cgmath-rs/issues/226","id":135481623,"user":{"login":"Yamakaky","id":1327378,"avatar_url":"https://avatars.githubusercontent.com/u/1327378?v=3","gravatar_id":"","url":"https://api.github.com/users/Yamakaky","html_url":"https://github.com/Yamakaky","followers_url":"https://api.github.com/users/Yamakaky/followers","following_url":"https://api.github.com/users/Yamakaky/following{/other_user}","gists_url":"https://api.github.com/users/Yamakaky/gists{/gist_id}","starred_url":"https://api.github.com/users/Yamakaky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yamakaky/subscriptions","organizations_url":"https://api.github.com/users/Yamakaky/orgs","repos_url":"https://api.github.com/users/Yamakaky/repos","events_url":"https://api.github.com/users/Yamakaky/events{/privacy}","received_events_url":"https://api.github.com/users/Yamakaky/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T16:13:03Z","updated_at":"2015-08-27T16:13:03Z","body":"up right forward position*"}}