[]Function rusty_engine::prelude::glm::vec3_to_vec4

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

Creates a 4D vector from another vector.

Missing components, if any, are set to 0.

See also: