Mat4LookAt


Return "look at" matrix.

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