[][src]Function skeletal_animation::math::vec2_scale

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

Multiplies the vector with a scalar.