[][src]Function nalgebra_glm::vec2_to_vec4

pub fn vec2_to_vec4<N: Number>(v: &TVec2<N>) -> TVec4<N>

Creates a 4D vector from another vector.

Missing components, if any, are set to 0.

See also: