Expand description
A vector with two f32 values.
Implementations
sourceimpl Vec2
impl Vec2
sourcepub fn magnitude_squared(&self) -> f32
pub fn magnitude_squared(&self) -> f32
Returns the magnitude of the vector, squared.
A vector with two f32 values.
Returns the magnitude of the vector, squared.