Scale


Makes scaling matrix. Can be used with arithmetic data types only.

template<class TYPE>
void Scale(TMat2<TYPE> &m, const TYPE x, const TYPE y);
template<class TYPE>
void Scale(TMat3<TYPE> &m, const TYPE x, const TYPE y, const TYPE z);
template<class TYPE>
void Scale(TMat4<TYPE> &m, const TYPE x, const TYPE y, const TYPE z);
Namespace: ntl
Include: NTL/Core/Mat2.h (For TMat2 argument)
NTL/Core/Mat3.h (For TMat3 argument)
NTL/Core/Mat4.h (For TMat4 argument)