mirror of
https://github.com/photonstorm/phaser
synced 2025-01-13 13:48:53 +00:00
19 lines
413 B
JavaScript
19 lines
413 B
JavaScript
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]
|
|
*/
|
|
var ContainsPoint = function (circle, point)
|
|
{
|
|
return Contains(circle, point.x, point.y);
|
|
};
|
|
|
|
module.exports = ContainsPoint;
|