distanceToEdge

fun Vec2f.distanceToEdge(edgeA: Vec2f, edgeB: Vec2f): Float
fun Vec3f.distanceToEdge(edgeA: Vec3f, edgeB: Vec3f): Float