Function nalgebra_glm::vec1_to_vec2 [−][src]
pub fn vec1_to_vec2<N: Number>(v: &TVec1<N>) -> TVec2<N>
Creates a 2D vector from another vector.
Missing components, if any, are set to 0.
pub fn vec1_to_vec2<N: Number>(v: &TVec1<N>) -> TVec2<N>
Creates a 2D vector from another vector.
Missing components, if any, are set to 0.