translate


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

Makes translation tensor(matrix).

You can find more information in comments below.

template<class TYPE>
    void translate(TTensor<TYPE, 3u, 3u> &m, const TYPE x, const TYPE y); // Set 2D tranlate to 3x3 tensor(matrix) 
    
    template<class TYPE>
    void translate(TTensor<TYPE, 4u, 4u> &m, const TYPE x, const TYPE y, const TYPE z); // Set 3D translate to 4x4 tensor(matrix)
Namespace: nitisa::math
Include: Nitisa/Modules/Math/Tensor.h