Skip to main content

add_branches

Function add_branches 

Source
pub fn add_branches(bolt: &mut LightningBolt, probability: f32, seed: &mut u64)
Expand description

Add branches to an existing bolt. Each segment has a probability of spawning a short branch.