Struct collide_capsule::Capsule [−][src]
pub struct Capsule<V: VectorSpace> {
pub start: V,
pub end: V,
pub rad: V::Scalar,
}
Expand description
The capsule collider defined as a convex hull around two spheres having the same radius.
Fields
start: V
The position of one sphere.
end: V
The position of the other sphere.
rad: V::Scalar
The radius of the spheres.
Implementations
Trait Implementations
Auto Trait Implementations
impl<V> RefUnwindSafe for Capsule<V> where
V: RefUnwindSafe,
<V as VectorSpace>::Scalar: RefUnwindSafe,
impl<V> UnwindSafe for Capsule<V> where
V: UnwindSafe,
<V as VectorSpace>::Scalar: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more