phaser/v3/src/geom/triangle/Clone.js

9 lines
190 B
JavaScript
Raw Normal View History

var Triangle = require('./Triangle');
var Clone = function (source)
{
return new Triangle(source.x1, source.y1, source.x2, source.y2, source.x3, source.y3);
};
module.exports = Clone;