Function conrod::widget::primitive::line::triangles
[−]
[src]
pub fn triangles(
a: Point,
b: Point,
half_thickness: Scalar
) -> [Triangle<Point>; 2]
Given two points and half the line thickness, return the two triangles that describe the line.