Makes rotation around Z-axis tensor(matrix).
You can find more information in comments below.
template<class TYPE>
void rotate_z(TTensor<TYPE, 2u, 2u> &m, const TYPE angle); // Set rotation around Z axis to 2x2 tensor(matrix)
template<class TYPE>
void rotate_z(TTensor<TYPE, 3u, 3u> &m, const TYPE angle); // Set rotation around Z axis to 3x3 tensor(matrix)
template<class TYPE>
void rotate_z(TTensor<TYPE, 4u, 4u> &m, const TYPE angle); // Set rotation around Z axis to 4x4 tensor(matrix)
Namespace: | nitisa::math |
Include: | Nitisa/Modules/Math/Tensor.h |