phaser/wip/point/Multiply.js
2018-01-26 05:21:45 +00:00

21 lines
387 B
JavaScript

/**
* [description]
*
* @function Phaser.Geom.Point.Multiply
* @since 3.0.0
*
* @param {Phaser.Geom.Point} point - [description]
* @param {number} x - [description]
* @param {number} y - [description]
*
* @return {Phaser.Geom.Point} [description]
*/
var Multiply = function (point, x, y)
{
point.x *= x;
point.y *= y;
return point;
};
module.exports = Multiply;