Convert 1D 4-component tensor, which is also known as Vector from the core in case TYPE is double, to TVec4.
template<class TYPE, class TENSOR_TYPE> TVec4<TYPE> TensorToVec4(const TTensor<TENSOR_TYPE, 4u> &v);
template<class TYPE, class TENSOR_TYPE> void TensorToVec4(TVec4<TYPE> &dest, const TTensor<TENSOR_TYPE, 4u> &v);
Namespace: | nitisa::math |
Include: | Nitisa/Modules/Math/Vector.h |