Type Definition moon_engine::math::Vec2
source · [−]Expand description
An alias to nalgebra::Vector2<f32>
.
Trait Implementations
sourceimpl Random for Vec2
impl Random for Vec2
sourcefn random_range_max(max: Self) -> Self
fn random_range_max(max: Self) -> Self
Get a random value, expanded to another range.
sourcefn random_range(min: Self, max: Self) -> Self
fn random_range(min: Self, max: Self) -> Self
Get a random value, expanded to another range.