AS3 equivalent of PHP's deg2rad
-
23-09-2019 - |
Question
Hey all, what is the Actionscript 3 equivalent of PHP's deg2rad function?
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