distanceToRay

fun Vec3f.distanceToRay(origin: Vec3f, direction: Vec3f): Float