TensorToMat4


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

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

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