Norm


Return norm of vector/quaternion.

template<class TYPE>
TYPE Norm(const TVec1<TYPE> &v);
template<class TYPE>
TYPE Norm(const TVec2<TYPE> &v);
template<class TYPE>
TYPE Norm(const TVec3<TYPE> &v);
template<class TYPE>
TYPE Norm(const TVec4<TYPE> &v);
template<class TYPE>
TYPE Norm(const TQuaternion<TYPE> &q);
Namespace: ntl
Include: NTL/Core/Vec1.h (For TVec1 arguments)
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)