Function nalgebra_glm::vec1_to_vec2

source ·
pub fn vec1_to_vec2<N: Number>(v: &TVec1<N>) -> TVec2<N>
Expand description

Creates a 2D vector from another vector.

Missing components, if any, are set to 0.

See also: