Trait mini_collide::ClosestPoint
source · [−]pub trait ClosestPoint<Other> {
fn closest_point(&self, other: &Other) -> Point;
}
Expand description
Trait for finding the closest point to another object
Required methods
fn closest_point(&self, other: &Other) -> Point
fn closest_point(&self, other: &Other) -> Point
The closest point to another object