xdiff
=
x2
-
x1
;
ydiff
=
y2
-
y1
;
dist
=
xdiff
*
xdiff
+
ydiff
*
ydiff
;