arcade-physics
Version:
Use Arcade Physics without Phaser.
19 lines • 621 B
TypeScript
export default Difference;
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Calculates the positive difference of two given numbers.
*
* @function Phaser.Math.Difference
* @since 3.0.0
*
* @param {number} a - The first number in the calculation.
* @param {number} b - The second number in the calculation.
*
* @return {number} The positive difference of the two given numbers.
*/
declare function Difference(a: number, b: number): number;
//# sourceMappingURL=Difference.d.ts.map