Return angle cosine between vectors/quaternions.
template<class TYPE>
TYPE AngleCosine(const TVec2<TYPE> &a, const TVec2<TYPE> &b);
template<class TYPE>
TYPE AngleCosine(const TVec3<TYPE> &a, const TVec3<TYPE> &b);
template<class TYPE>
TYPE AngleCosine(const TVec4<TYPE> &a, const TVec4<TYPE> &b);
template<class TYPE>
TYPE AngleCosine(const TQuaternion<TYPE> &a, const TQuaternion<TYPE> &b);
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) |