Function alea::f32_in_range[][src]

pub fn f32_in_range(min: f32, max: f32) -> f32
Expand description

Generate a random f32 value in the range [min, max] (i.e., both endpoints are included).