to_v2

Function to_v2 

Source
pub fn to_v2(v: impl Into<Vector2<f32>>) -> Vector2
Expand description

Helper function to create a Vector2.