Mat4ToTensor


This object has been removed in release 10.0.0. Use NTL objects instead.

Convert TMat4 to 2D 4x4-component tensor which is also known as Matrix from the core in case TYPE is double.

template<class TYPE, class TENSOR_TYPE> TTensor<TYPE, 4u, 4u> Mat4ToTensor(const TMat4<TYPE> &v);
    template<class TYPE, class TENSOR_TYPE> void Mat4ToTensor(TTensor<TENSOR_TYPE, 4u, 4u> &dest, const TMat4<TYPE> &v);
Namespace: nitisa::math
Include: Nitisa/Modules/Math/Matrix.h