Question

Hey all, what is the Actionscript 3 equivalent of PHP's deg2rad function?

Was it helpful?

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
scroll top