Function piston_window::ellipse::circle

source ยท
pub fn circle(x: f64, y: f64, radius: f64) -> [f64; 4]
Expand description

Create types::Rectangle for a square with a center in (x, y) and side 2 * radius.