Set the Amplitude

How to set the amplitude of a vector ? c#

Thanks in advance
_Amir

//make vector length 1
vec.Unitize();
//multiply by amplitude.
vec *= 10.00;

2 Likes