LookAt


Makes "look at" matrix. Can be used with arithmetic data types only.

template<class TYPE>
void LookAt(TMat4<TYPE> &m, const TVec3<TYPE> &camera, const TVec3<TYPE> &target, const TVec3<TYPE> &up);
template<class TYPE>
void LookAt(TMat4<TYPE> &m, const TVec4<TYPE> &camera, const TVec4<TYPE> &target, const TVec4<TYPE> &up);
template<class TYPE>
void LookAt(TMat4<TYPE> &m, const TQuaternion<TYPE> &camera, const TQuaternion<TYPE> &target, const TQuaternion<TYPE> &up);
Namespace: ntl
Include: NTL/Core/Mat4.h