NormSqr


Return square of norm.

template<class TYPE>
TYPE NormSqr(const TVec1<TYPE> &v);
template<class TYPE>
TYPE NormSqr(const TVec2<TYPE> &v);
template<class TYPE>
TYPE NormSqr(const TVec3<TYPE> &v);
template<class TYPE>
TYPE NormSqr(const TVec4<TYPE> &v);
template<class TYPE>
TYPE NormSqr(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)