Posted By

zackattack27 on 07/22/11


Tagged

textmate math convert Radian Degrees Degree


Versions (?)

Convert Radians to Degrees


 / Published in: ActionScript 3
 

  1. function degrees(radians:Number):Number
  2. {
  3. return radians * 180/Math.PI;
  4. }
  5.  
  6. function radians(degrees:Number):Number
  7. {
  8. return degrees * Math.PI / 180;
  9. }

Report this snippet  

You need to login to post a comment.