Implements constructor of rotation transformation matrix.
More...
#include <eagine/math/matrix_rotation.hpp>
template<typename T, bool RM, bool V, int I>
class eagine::math::rotation_I< matrix< T, 4, 4, RM, V >, I >
Implements constructor of rotation transformation matrix.
- Template Parameters
-
| I | index of the rotation axis (0 = x, 1 = y, 2 = z). |
- See also
- matrix_rotation_x
-
matrix_rotation_y
-
matrix_rotation_z
- Note
- Do not use directly, use matrix_rotation_{x,y,z}
◆ rotation_I()
template<typename T , bool RM, bool V, int I>
| constexpr eagine::math::rotation_I< matrix< T, 4, 4, RM, V >, I >::rotation_I |
( |
radians_t< T > |
v | ) |
|
|
inlineconstexprnoexcept |
Initializes the matrix constructor.
- Parameters
-
| v | is the angle of rotation. |
The documentation for this class was generated from the following file: