Function piston_window::math::mul_scalar

source ยท
pub fn mul_scalar<T>(a: [T; 2], b: T) -> [T; 2]
where T: Copy + Mul<Output = T>,
Expand description

Multiplies the vector with a scalar.