TensorToVec3


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

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

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