struct
Particle
pub struct Particle {
pub x: f32,
pub y: f32,
pub vx: f32,
pub vy: f32,
pub radius: f32,
pub opacity: f32,
pub color: Color,
pub sprite: Sprite,
/* private fields */
}One particle.
struct
pub struct Particle {
pub x: f32,
pub y: f32,
pub vx: f32,
pub vy: f32,
pub radius: f32,
pub opacity: f32,
pub color: Color,
pub sprite: Sprite,
/* private fields */
}One particle.