Function piston_window::line_from_to[][src]

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

Draws line between points.