Skip to main content

spawn_debris

Function spawn_debris 

Source
pub fn spawn_debris(
    contact: Vec3,
    direction: Vec3,
    color: [f32; 4],
    count: usize,
) -> Vec<DebrisGlyph>
Expand description

Spawn a batch of debris glyphs from a hit.