[][src]Function nalgebra_glm::make_vec2

pub fn make_vec2<N: Scalar>(ptr: &[N]) -> TVec2<N>

Creates a 2D vector from a slice.

See also: