문제

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

도움이 되었습니까?

해결책

Googling "ActionScript deg2rad" came up with this:

function deg2rad(degree) {
     return degree * (Math.PI / 180);
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top