vec2

Function vec2 

Source
pub const fn vec2<Sc, B>(x: Sc, y: Sc) -> Vector<[Sc; 2], Real<2, B>>
Expand description

Returns a real 2-vector with components x and y.