pub fn rand_in_square<T: Rng>(dimension: f32, rng: &mut T) -> Vec2 {
    Vec2::new(
        rng.gen_range(-dimension, dimension),
        rng.gen_range(-dimension, dimension),
    )
}
/// Given a length of a side of a square centered at (0.0, 0.0), return a Vec2 that resides
/// somewhere within it.
Given a length of a side of a square centered at (0.0, 0.0), return a Vec2 that resides
somewhere within it.
Given a length of a side of a square centered at ( 0 . 0 0 . 0 ) return a Vec2 that resides somewhere within it .
pub fn rand_in_square<T: Rng>(dimension: f32, rng: &mut T) -> Vec2 {
    Vec2::new(
        rng.gen_range(-dimension, dimension),
        rng.gen_range(-dimension, dimension),
    )
}
pub fn rand_in_square < T : Rng > ( dimension : f32 , rng : & mut T ) -> Vec2 { Vec2 :: new ( rng . gen_range ( - dimension , dimension ) , rng . gen_range ( - dimension , dimension ) , ) }
Given a length of a side of a square centered at (0.0, 0.0), return a Vec2 that resides
somewhere within it.
Given a length of a side of a square centered at ( 0 . 0 0 . 0 ) return a Vec2 that resides somewhere within it .
dimension
f32
rng
&mut T
dimension
f32
rng
&mut T