Skip to main content

weighted_roll

Function weighted_roll 

Source
pub fn weighted_roll(weights: &[f32], roll: f32) -> usize