multithreading && code cleanup
This commit is contained in:
@@ -16,7 +16,7 @@ pub fn random_f64() -> f64 {
|
||||
|
||||
// PLEASE CHANGE
|
||||
pub fn random_range_f64(min: f64, max: f64) -> f64 {
|
||||
rand::thread_rng().gen_range(min..=max)
|
||||
rand::thread_rng().gen_range(min, max)
|
||||
}
|
||||
|
||||
pub fn clamp(x: f64, min: f64, max: f64) -> f64 {
|
||||
|
||||
Reference in New Issue
Block a user