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

19 lines
410 B
JavaScript
Raw Normal View History

2016-12-29 00:17:20 +00:00
var Contains = require('./Contains');
/**
* [description]
*
* @function Phaser.Geom.Circle.ContainsPoint
* @since 3.0.0
*
* @param {Phaser.Geom.Circle} circle - [description]
* @param {Phaser.Geom.Point|object} point - [description]
* @return {boolean} [description]
*/
2016-12-29 00:17:20 +00:00
var ContainsPoint = function (circle, point)
{
return Contains(circle, point.x, point.y);
};
module.exports = ContainsPoint;