[][src]Function nalgebra_glm::vec2_to_vec3

pub fn vec2_to_vec3<N: Number>(v: &TVec2<N>) -> TVec3<N>

Creates a 3D vector from another vector.

Missing components, if any, are set to 0.

See also: