mirror of
https://github.com/photonstorm/phaser
synced 2024-12-04 18:40:59 +00:00
16 lines
329 B
JavaScript
16 lines
329 B
JavaScript
/**
|
|
* [description]
|
|
*
|
|
* @function Phaser.Geom.Point.NormalizeRightHand
|
|
* @since 3.0.0
|
|
*
|
|
* @param {Phaser.Geom.Point} point - [description]
|
|
*
|
|
* @return {Phaser.Geom.Point} [description]
|
|
*/
|
|
var NormalizeRightHand = function (point)
|
|
{
|
|
return point.setTo(point.y * -1, point.x);
|
|
};
|
|
|
|
module.exports = NormalizeRightHand;
|