Identity


Makes matrix/quaternion identity. Can be used with arithmetic data types only.

template<class TYPE>
void Identity(TMat2<TYPE> &m);
template<class TYPE>
void Identity(TMat3<TYPE> &m);
template<class TYPE>
void Identity(TMat4<TYPE> &m);
template<class TYPE, size_t ROWS, size_t COLUMNS>
void Identity(TMatrix<TYPE, ROWS, COLUMNS> &m);
template<class TYPE>
void Identity(TQuaternion<TYPE> &q);
Namespace: ntl
Include: NTL/Core/Mat2.h (For TMat2 argument)
NTL/Core/Mat3.h (For TMat3 argument)
NTL/Core/Mat4.h (For TMat4 argument)
NTL/Core/Matrix.h (For TMatrix argument)
NTL/Core/Quaternion.h (For TQuaternion argument)