Function nalgebra_glm::vec3_to_vec4[][src]

pub fn vec3_to_vec4<T: Number>(v: &TVec3<T>) -> TVec4<T>
Expand description

Creates a 4D vector from another vector.

Missing components, if any, are set to 0.

See also: