phaser/v3/src/geom/circle/Circumference.js
2016-12-29 00:17:20 +00:00

6 lines
118 B
JavaScript

var Circumference = function (circle)
{
return 2 * (Math.PI * circle.radius);
};
module.exports = Circumference;