[][src]Function piston_window::line_from_to

pub fn line_from_to<P, G>(
    color: [f32; 4],
    radius: f64,
    from: P,
    to: P,
    transform: [[f64; 3]; 2],
    g: &mut G
) where
    G: Graphics,
    P: Into<[f64; 2]>, 

Draws line between points.