phaser/src/geom/circle/ContainsPoint.js

20 lines
413 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]
2017-10-13 13:11:54 +00:00
*
* @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;