#include <trafo.h>
 | 
| glm::mat4  | mat () | 
|   | 
| void  | rotateLocal (float angle, math::Axis ax) | 
|   | 
| void  | rotateLocal (float angle, glm::vec3 const &ax) | 
|   | 
| void  | rotateGlobal (float angle, math::Axis ax) | 
|   | 
| void  | rotateGlobal (float angle, glm::vec3 const &ax) | 
|   | 
| void  | translateLocal (float distance, math::Axis ax) | 
|   | 
| void  | translateLocal (glm::vec3 const &trans) | 
|   | 
| void  | translateGlobal (float distance, math::Axis ax) | 
|   | 
| void  | translateGlobal (glm::vec3 const &trans) | 
|   | 
| void  | setScaleLocal (glm::vec3 const &scale) | 
|   | 
| void  | setScaleLocal (float scale) | 
|   | 
| void  | setRotation (glm::quat const &rot) | 
|   | 
| void  | setTranslation (glm::vec3 const &trans) | 
|   | 
| void  | resetScale () | 
|   | 
| void  | resetRotation () | 
|   | 
| void  | resetTranslation () | 
|   | 
| void  | pointTo (glm::vec3 const &eye, glm::vec3 const ¢er, glm::vec3 const &up) | 
|   | 
| void  | lookAt (glm::vec3 const &eye, glm::vec3 const ¢er, glm::vec3 const &up) | 
|   | 
| void  | lerp (float t, Trafo const &target, Trafo *dst) | 
|   | 
| void  | setIdentity () | 
|   | 
| glm::vec3  | getAxisLocal (math::Axis ax) | 
|   | 
| glm::vec3  | getAxisGlobal (math::Axis ax) const | 
|   | 
| glm::vec3  | getEye () const | 
|   | 
| glm::quat  | getRotation () const | 
|   | 
| glm::vec3  | getScale () const | 
|   | 
◆ getAxisGlobal()
      
        
          | glm::vec3 yourgame::math::Trafo::getAxisGlobal  | 
          ( | 
          math::Axis  | 
          ax | ) | 
           const | 
        
      
 
 
◆ getAxisLocal()
      
        
          | glm::vec3 yourgame::math::Trafo::getAxisLocal  | 
          ( | 
          math::Axis  | 
          ax | ) | 
           | 
        
      
 
 
◆ getEye()
      
        
          | glm::vec3 yourgame::math::Trafo::getEye  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getRotation()
      
        
          | glm::quat yourgame::math::Trafo::getRotation  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getScale()
      
        
          | glm::vec3 yourgame::math::Trafo::getScale  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ lerp()
      
        
          | void yourgame::math::Trafo::lerp  | 
          ( | 
          float  | 
          t,  | 
        
        
           | 
           | 
          Trafo const &  | 
          target,  | 
        
        
           | 
           | 
          Trafo *  | 
          dst  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ lookAt()
      
        
          | void yourgame::math::Trafo::lookAt  | 
          ( | 
          glm::vec3 const &  | 
          eye,  | 
        
        
           | 
           | 
          glm::vec3 const &  | 
          center,  | 
        
        
           | 
           | 
          glm::vec3 const &  | 
          up  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ mat()
      
        
          | glm::mat4 yourgame::math::Trafo::mat  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ pointTo()
      
        
          | void yourgame::math::Trafo::pointTo  | 
          ( | 
          glm::vec3 const &  | 
          eye,  | 
        
        
           | 
           | 
          glm::vec3 const &  | 
          center,  | 
        
        
           | 
           | 
          glm::vec3 const &  | 
          up  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ resetRotation()
      
        
          | void yourgame::math::Trafo::resetRotation  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ resetScale()
      
        
          | void yourgame::math::Trafo::resetScale  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ resetTranslation()
      
        
          | void yourgame::math::Trafo::resetTranslation  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ rotateGlobal() [1/2]
      
        
          | void yourgame::math::Trafo::rotateGlobal  | 
          ( | 
          float  | 
          angle,  | 
        
        
           | 
           | 
          glm::vec3 const &  | 
          ax  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ rotateGlobal() [2/2]
      
        
          | void yourgame::math::Trafo::rotateGlobal  | 
          ( | 
          float  | 
          angle,  | 
        
        
           | 
           | 
          math::Axis  | 
          ax  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ rotateLocal() [1/2]
      
        
          | void yourgame::math::Trafo::rotateLocal  | 
          ( | 
          float  | 
          angle,  | 
        
        
           | 
           | 
          glm::vec3 const &  | 
          ax  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ rotateLocal() [2/2]
      
        
          | void yourgame::math::Trafo::rotateLocal  | 
          ( | 
          float  | 
          angle,  | 
        
        
           | 
           | 
          math::Axis  | 
          ax  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ setIdentity()
      
        
          | void yourgame::math::Trafo::setIdentity  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ setRotation()
      
        
          | void yourgame::math::Trafo::setRotation  | 
          ( | 
          glm::quat const &  | 
          rot | ) | 
           | 
        
      
 
 
◆ setScaleLocal() [1/2]
      
        
          | void yourgame::math::Trafo::setScaleLocal  | 
          ( | 
          float  | 
          scale | ) | 
           | 
        
      
 
 
◆ setScaleLocal() [2/2]
      
        
          | void yourgame::math::Trafo::setScaleLocal  | 
          ( | 
          glm::vec3 const &  | 
          scale | ) | 
           | 
        
      
 
 
◆ setTranslation()
      
        
          | void yourgame::math::Trafo::setTranslation  | 
          ( | 
          glm::vec3 const &  | 
          trans | ) | 
           | 
        
      
 
 
◆ translateGlobal() [1/2]
      
        
          | void yourgame::math::Trafo::translateGlobal  | 
          ( | 
          float  | 
          distance,  | 
        
        
           | 
           | 
          math::Axis  | 
          ax  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ translateGlobal() [2/2]
      
        
          | void yourgame::math::Trafo::translateGlobal  | 
          ( | 
          glm::vec3 const &  | 
          trans | ) | 
           | 
        
      
 
 
◆ translateLocal() [1/2]
      
        
          | void yourgame::math::Trafo::translateLocal  | 
          ( | 
          float  | 
          distance,  | 
        
        
           | 
           | 
          math::Axis  | 
          ax  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ translateLocal() [2/2]
      
        
          | void yourgame::math::Trafo::translateLocal  | 
          ( | 
          glm::vec3 const &  | 
          trans | ) | 
           | 
        
      
 
 
The documentation for this class was generated from the following files: