UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.

25 lines (21 loc) 527 B
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ var Normalize = require('./Normalize'); /** * [description] * * @function Phaser.Math.Angle.Reverse * @since 3.0.0 * * @param {number} angle - [description] * * @return {number} [description] */ var Reverse = function (angle) { return Normalize(angle + Math.PI); }; module.exports = Reverse;