All trig functions operate on radians, an angular unit in which radians measure a full revolution. : Math : Development Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Development » Math »

 

All trig functions operate on radians, an angular unit in which radians measure a full revolution.


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

         var valInRadians;
         var valInDegrees;
         valInRadians = valInDegrees / 180 * Math.PI;
         valInDegrees = valInRadians / Math.PI * 180;

    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Development
» Math