Function nalgebra_glm::vec4_to_vec2
source · pub fn vec4_to_vec2<T: Scalar>(v: &TVec4<T>) -> TVec2<T>
Expand description
Creates a 2D vector from another vector.
pub fn vec4_to_vec2<T: Scalar>(v: &TVec4<T>) -> TVec2<T>
Creates a 2D vector from another vector.