Function vec3_scale

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

Multiplies the vector with a scalar.