[][src]Function nalgebra_glm::vec2

pub fn vec2<N: Scalar>(x: N, y: N) -> TVec2<N>

Creates a new 2D vector.