Type Alias rapier3d::geometry::Segment

source ·
pub type Segment = Segment;
Expand description

A segment shape.

Aliased Type§

struct Segment {
    pub a: OPoint<f32, Const<3>>,
    pub b: OPoint<f32, Const<3>>,
}

Fields§

§a: OPoint<f32, Const<3>>

The segment first point.

§b: OPoint<f32, Const<3>>

The segment second point.