toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.shape
/
CompoundShape2D
/
distance
distance
open
override
fun
distance
(
p
:
Point
)
:
Double
Compute the distance to the shortest point to the edge (SDF). Negative inside. Positive outside.