Function nalgebra_glm::vec2[][src]

pub fn vec2<T: Scalar>(x: T, y: T) -> TVec2<T>
Expand description

Creates a new 2D vector.