Function vecmath::vec3_scale [−] [src]

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

Multiplies the vector with a scalar.