OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::math::rotation_I< matrix< T, 4, 4, RM, V >, I > Class Template Reference

Implements constructor of rotation transformation matrix. More...

#include <eagine/math/matrix_rotation.hpp>

Public Member Functions

constexpr rotation_I (radians_t< T > v) noexcept
 Initializes the matrix constructor. More...
 
constexpr auto operator() () const
 Returns the constructed matrix.
 

Detailed Description

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
Iindex 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}

Constructor & Destructor Documentation

◆ 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
vis the angle of rotation.

The documentation for this class was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).