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

9 lines
171 B
JavaScript
Raw Normal View History

2017-01-07 01:06:57 +00:00
var Contains = require('./Contains');
var ContainsPoint = function (polygon, point)
{
return Contains(polygon, point.x, point.y);
};
module.exports = ContainsPoint;