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