Skip to main content

push_triangle

Function push_triangle 

Source
pub fn push_triangle(
    out: &mut Vec<Vertex>,
    p0: [f32; 2],
    p1: [f32; 2],
    p2: [f32; 2],
    color: Color,
)
Expand description

Append three vertices (one triangle) for a path fill triangle.