pub fn vec2_to_vec3<T: Number>(v: &TVec2<T>) -> TVec3<T>
Creates a 3D vector from another vector.
Missing components, if any, are set to 0.
vec1_to_vec3
vec3_to_vec3
vec4_to_vec3
vec3_to_vec1
vec3_to_vec2
vec3_to_vec4