Function scaling

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

A 4 * 4 scale matrix created from a vector of 3 components.

ยงSee also: