{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1527","labels_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1527/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1527/comments","events_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1527/events","html_url":"https://github.com/HaxeFlixel/flixel/issues/1527","id":87588553,"number":1527,"title":"Fast sin/cos in FlxMath","user":{"login":"MSGhero","id":5033927,"avatar_url":"https://avatars.githubusercontent.com/u/5033927?v=3","gravatar_id":"","url":"https://api.github.com/users/MSGhero","html_url":"https://github.com/MSGhero","followers_url":"https://api.github.com/users/MSGhero/followers","following_url":"https://api.github.com/users/MSGhero/following{/other_user}","gists_url":"https://api.github.com/users/MSGhero/gists{/gist_id}","starred_url":"https://api.github.com/users/MSGhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSGhero/subscriptions","organizations_url":"https://api.github.com/users/MSGhero/orgs","repos_url":"https://api.github.com/users/MSGhero/repos","events_url":"https://api.github.com/users/MSGhero/events{/privacy}","received_events_url":"https://api.github.com/users/MSGhero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-12T03:18:32Z","updated_at":"2015-06-15T17:23:04Z","closed_at":null,"body":"The weird r^4 polynomial approximation for sine [(FlxPoint.rotate)](https://github.com/HaxeFlixel/flixel/blob/dev/flixel/math/FlxPoint.hx#L336) would be neat to have in FlxMath. Some of the calculations could be factored to be shorter as well (maybe slightly faster).\r\n\r\nI would think 3 functions, `fastSine:Float->Float`, `fastCosine:Float->Float`, and `fastSinCos:Float->FlxPoint`. There's prolly also a fastAtan2 that could be added.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/21618910-fast-sin-cos-in-flxmath?utm_campaign=plugin&utm_content=tracker%2F254189&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F254189&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/comments/112145970","html_url":"https://github.com/HaxeFlixel/flixel/issues/1527#issuecomment-112145970","issue_url":"https://api.github.com/repos/HaxeFlixel/flixel/issues/1527","id":112145970,"user":{"login":"MSGhero","id":5033927,"avatar_url":"https://avatars.githubusercontent.com/u/5033927?v=3","gravatar_id":"","url":"https://api.github.com/users/MSGhero","html_url":"https://github.com/MSGhero","followers_url":"https://api.github.com/users/MSGhero/followers","following_url":"https://api.github.com/users/MSGhero/following{/other_user}","gists_url":"https://api.github.com/users/MSGhero/gists{/gist_id}","starred_url":"https://api.github.com/users/MSGhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSGhero/subscriptions","organizations_url":"https://api.github.com/users/MSGhero/orgs","repos_url":"https://api.github.com/users/MSGhero/repos","events_url":"https://api.github.com/users/MSGhero/events{/privacy}","received_events_url":"https://api.github.com/users/MSGhero/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T17:23:04Z","updated_at":"2015-06-15T17:23:04Z","body":"Whoops, this is already part of #1255. I'll do some profiling and make a pull for that one soon."}}