Function vec2

Source
pub fn vec2<T>(
    x: T,
    y: T,
) -> Matrix<T, Const<2>, Const<1>, ArrayStorage<T, 2, 1>>
where T: Scalar,
Expand description

Creates a new 2D vector.