Struct mini_collide::Capsule
source · [−]pub struct Capsule {
pub axis: LineSegment,
pub radius: f32,
}
Expand description
A cylinder capped with a half-sphere at each end
Fields
axis: LineSegment
The central axis of the capsule
radius: f32
The radius of the capsule
Implementations
Trait Implementations
The closest point to another object
The closest point to another object
Whether this shape intersect with the other
Whether this shape intersect with the other