Function vec1_to_vec3

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

Creates a 3D vector from another vector.

Missing components, if any, are set to 0.

ยงSee also: