Function nalgebra_glm::vec2_to_vec4

source ·
pub fn vec2_to_vec4<T: Number>(v: &TVec2<T>) -> TVec4<T>
Expand description

Creates a 4D vector from another vector.

Missing components, if any, are set to 0.

See also: