Normalize


Normalize vector/quaternion/tensor.

template<class TYPE>
void Normalize(TVec2<TYPE> &v);
template<class TYPE>
void Normalize(TVec3<TYPE> &v);
template<class TYPE>
void Normalize(TVec4<TYPE> &v);
template<class TYPE>
void Normalize(TQuaternion<TYPE> &q);
template<class TYPE, size_t SIZE, size_t ...Dimensions>
void Normalize(TTensor<TYPE, SIZE, Dimensions...> &a);
Namespace: ntl
Include: NTL/Core/Vec2.h (For TVec2 arguments)
NTL/Core/Vec3.h (For TVec3 arguments)
NTL/Core/Vec4.h (For TVec4 arguments)
NTL/Core/Quaternion.h (For TQuaternion arguments)
NTL/Core/Tensor.h (For TTensor arguments)