Return normalized vector/quaternion/tensor.
template<class TYPE>
TVec2<TYPE> Normalized(const TVec2<TYPE> &v);
template<class TYPE>
TVec3<TYPE> Normalized(const TVec3<TYPE> &v);
template<class TYPE>
TVec4<TYPE> Normalized(const TVec4<TYPE> &v);
template<class TYPE>
TQuaternion<TYPE> Normalized(const TQuaternion<TYPE> &q);
template<class TYPE, size_t SIZE, size_t ...Dimensions>
TTensor<TYPE, SIZE, Dimensions...> Normalized(const 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) |