phaser/v3/src/geom/circle/Circumference.js

7 lines
118 B
JavaScript
Raw Normal View History

2016-12-29 00:17:20 +00:00
var Circumference = function (circle)
{
return 2 * (Math.PI * circle.radius);
};
module.exports = Circumference;