Function piston_window::math::mul_scalar
source ยท pub fn mul_scalar<T>(a: [T; 2], b: T) -> [T; 2]
Expand description
Multiplies the vector with a scalar.
pub fn mul_scalar<T>(a: [T; 2], b: T) -> [T; 2]
Multiplies the vector with a scalar.