Convert TVec3 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> Vec3ToTensor(const TVec3<TYPE> &v);
template<class TYPE, class TENSOR_TYPE> void Vec3ToTensor(TTensor<TENSOR_TYPE, 4u> &dest, const TVec3<TYPE> &v);
Namespace: | nitisa::math |
Include: | Nitisa/Modules/Math/Vector.h |