AS3 equivalent of PHP's deg2rad
https://stackoverflow.com/questions/2541914
Solution
Googling "ActionScript deg2rad" came up with this:
function deg2rad(degree) {
return degree * (Math.PI / 180);
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow