#49 : Code cleanup
This commit is contained in:
@@ -3,4 +3,4 @@ export const getDistance = (p1, p2) => {
|
|||||||
const y = p2.y - p1.y;
|
const y = p2.y - p1.y;
|
||||||
|
|
||||||
return Math.sqrt((x * x) + (y * y));
|
return Math.sqrt((x * x) + (y * y));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user