OEGeom3DNormalizeΒΆ

template<class T>
void OEGeom3DNormalize(T *x)

Normalizes the 3-element vector x so that the length (magnitude) of the vector x will be equal to 1.0.