/src/away3d/core/math/MathConsts.as
http://github.com/away3d/away3d-core-fp11 · ActionScript · 19 lines · 8 code · 2 blank · 9 comment · 0 complexity · 9f7658910eb3c0deede49b55fdaa9442 MD5 · raw file
- package away3d.core.math
- {
-
- /**
- * MathConsts provides some commonly used mathematical constants
- */
- public class MathConsts
- {
- /**
- * The amount to multiply with when converting radians to degrees.
- */
- public static const RADIANS_TO_DEGREES:Number = 180/Math.PI;
-
- /**
- * The amount to multiply with when converting degrees to radians.
- */
- public static const DEGREES_TO_RADIANS:Number = Math.PI/180;
- }
- }