Function firework_rs::utils::gen_points_on_circle
source · pub fn gen_points_on_circle(radius: f32, n: usize) -> Vec<Vec2>Expand description
Generate random Vec2 on a circle
pub fn gen_points_on_circle(radius: f32, n: usize) -> Vec<Vec2>Generate random Vec2 on a circle