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

9 lines
165 B
JavaScript
Raw Normal View History

2016-12-29 00:17:20 +00:00
var Contains = require('./Contains');
var ContainsPoint = function (rect, point)
{
return Contains(rect, point.x, point.y);
};
module.exports = ContainsPoint;