Function piston_window::math::mul_scalar

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

Multiplies the vector with a scalar.