UNPKG

arcade-physics

Version:
19 lines 657 B
export default DistanceBetweenPoints; /** * @author samme * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Calculate the distance between two points. * * @function Phaser.Math.Distance.BetweenPoints * @since 3.22.0 * * @param {Phaser.Types.Math.Vector2Like} a - The first point. * @param {Phaser.Types.Math.Vector2Like} b - The second point. * * @return {number} The distance between the points. */ declare function DistanceBetweenPoints(a: Phaser.Types.Math.Vector2Like, b: Phaser.Types.Math.Vector2Like): number; //# sourceMappingURL=DistanceBetweenPoints.d.ts.map