phaser/v3/src/geom/ellipse/OffsetPoint.js

10 lines
153 B
JavaScript
Raw Normal View History

2017-01-02 00:47:16 +00:00
var OffsetPoint = function (ellipse, point)
{
ellipse.x += point.x;
ellipse.y += point.y;
return ellipse;
};
module.exports = OffsetPoint;