distance-pac
v5.3.2
Published
Function for finding distance
Downloads
3
Readme
Library distance-pac
This library can help to find distance
Params of function
Params: xA, yA, xB, yB
xA, yA - position of first point
xB, yB - position of second point
Example
JavaScript code
"use strict";
const func = require("distance-pac");
const d = func(7, 10, 18, 25);
console.log(d);