Vec4ToTensor


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

Convert TVec4 to 1D 4-component tensor which is also known as Vector from the core in case TYPE is double.

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