MathConsts provides some commonly used mathematical constants

Static variables

@:value(Math.PI / 180)staticDEGREES_TO_RADIANS:Float = Math.PI / 180

The amount to multiply with when converting degrees to radians.

@:value(180 / Math.PI)staticRADIANS_TO_DEGREES:Float = 180 / Math.PI

The amount to multiply with when converting radians to degrees.