Function vecmath::vec4_scale [−] [src]

pub fn vec4_scale<T>(a: Vector4<T>, b: T) -> Vector4<T> where T: Copy + Mul<T, Output=T>

Multiplies the vector with a scalar.