Function vec1_to_vec4

Source
pub fn vec1_to_vec4<T>(
    v: &Matrix<T, Const<1>, Const<1>, ArrayStorage<T, 1, 1>>,
) -> Matrix<T, Const<4>, Const<1>, ArrayStorage<T, 4, 1>>
where T: Number,
Expand description

Creates a 4D vector from another vector.

Missing components, if any, are set to 0.

ยงSee also: