Function vecmath::vec2_scale [] [src]

pub fn vec2_scale<T: Float>(a: Vector2<T>, b: T) -> Vector2<T>

Multiplies the vector with a scalar.