vec2

Function vec2 

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

The short constructor.