phaser/v3/src/geom/line/CopyFrom.js

7 lines
139 B
JavaScript
Raw Normal View History

var CopyFrom = function (source, dest)
{
return dest.setTo(source.x1, source.y1, source.x2, source.y2);
};
module.exports = CopyFrom;