phaser/v3/src/math/const.js

12 lines
182 B
JavaScript
Raw Normal View History

var MATH_CONST = {
PI2: Math.PI * 2,
TAU: Math.PI * 0.5,
EPSILON: 1.0e-6,
DEG_TO_RAD: Math.PI / 180,
RAD_TO_DEG: 180 / Math.PI
};
module.exports = MATH_CONST;