UNPKG

arcade-physics

Version:
34 lines 1.01 kB
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** Math const */ declare enum MATH_CONST { /** The value of PI * 2 */ PI2, /** The value of PI * 0.5 */ TAU, /** An epsilon value (1.0e-6) */ EPSILON = 0.000001, /** For converting degrees to radians (PI / 180) */ DEG_TO_RAD, /** For converting radians to degrees (180 / PI) */ RAD_TO_DEG, /** * An instance of the Random Number Generator. * This is not set until the Game boots. */ /** * The minimum safe integer this browser supports. * We use a const for backward compatibility with Internet Explorer. */ MIN_SAFE_INTEGER, /** * The maximum safe integer this browser supports. * We use a const for backward compatibility with Internet Explorer. */ MAX_SAFE_INTEGER } export default MATH_CONST; //# sourceMappingURL=const.d.ts.map