Segment2f

Type Alias Segment2f 

Source
pub type Segment2f = Segment<f32, Vec2f>;
Expand description

2D single-precision line segment.

Aliased Type§

pub struct Segment2f {
    pub s: Vector2<f32>,
    pub e: Vector2<f32>,
    /* private fields */
}

Fields§

§s: Vector2<f32>

Start point.

§e: Vector2<f32>

End point.