[]Function rusty_engine::prelude::glm::vec1_to_vec3

pub fn vec1_to_vec3<N>(
    v: &Matrix<N, U1, U1, <DefaultAllocator as Allocator<N, U1, U1>>::Buffer>
) -> Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer> where
    N: Number

Creates a 3D vector from another vector.

Missing components, if any, are set to 0.

See also: