Skip to main content

push_circle_quad

Function push_circle_quad 

Source
pub fn push_circle_quad(
    out: &mut Vec<Vertex>,
    cx: f32,
    cy: f32,
    radius: f32,
    color: Color,
)
Expand description

Append six vertices covering the bounding quad of the circle centred at (cx, cy) with radius, tagged as an SDF circle.