toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
Vector2D
/
Companion
/
distanceSquared
distance
Squared
fun
distanceSquared
(
a
:
Vector2D
,
b
:
Vector2D
)
:
Double
fun
distanceSquared
(
a
:
Vector2I
,
b
:
Vector2I
)
:
Int
fun
distanceSquared
(
x1
:
Double
,
y1
:
Double
,
x2
:
Double
,
y2
:
Double
)
:
Double
fun
distanceSquared
(
x1
:
Float
,
y1
:
Float
,
x2
:
Float
,
y2
:
Float
)
:
Float
fun
distanceSquared
(
x1
:
Int
,
y1
:
Int
,
x2
:
Int
,
y2
:
Int
)
:
Int