What is the need for normalizing a vector?
For any vector V = (x, y, z), |V| = sqrt(x*x + y*y + z*z) gives the length of the vector. When we normalize a vector, we actually calculate V/|V| = (x/|V|, y/|V|, z/|V|). It is easy to see that a normalized vector has length 1. This is because: | V/|V| | = sqrt((x/|V|)*(x/|V|) + … Read more