vec2

Function vec2 

Source
pub const fn vec2(x: f32, y: f32) -> Vector2
Expand description

Helper function to create a Vector2.