Type Alias Line2

Source
pub type Line2 = Line<Point2, Vec2>;
Expand description

Two-dimensional line.

Aliased Type§

struct Line2 {
    pub origin: DVec2,
    pub direction: DVec2,
}

Fields§

§origin: DVec2

Point at parameter zero.

§direction: DVec2

Parameter direction; import adapters may preserve a non-unit vector.