pub type Line2f = Line<f32, Vec2f>;Expand description
2D single-precision line.
Aliased Type§
pub struct Line2f {
pub p: Vector2<f32>,
pub d: Vector2<f32>,
/* private fields */
}Fields§
§p: Vector2<f32>Point on the line.
d: Vector2<f32>Direction of the line.