OEGeom2DNormalizeΒΆ

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

Normalizes the two dimensional vector x to a unit vector.

x
Two dimensional array to normalize.