#include <camera.hpp>
◆ ProjectionType
| Enumerator | 
|---|
| Orthographic  |  | 
| Perspective  |  | 
 
 
◆ Camera() [1/2]
◆ Camera() [2/2]
  
  
      
        
          | jng::Camera::Camera  | 
          ( | 
          const Camera &  | 
           | ) | 
           | 
         
       
   | 
  
default   | 
  
 
 
◆ getAspectRatio()
  
  
      
        
          | f32 jng::Camera::getAspectRatio  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getOrthographicFar()
  
  
      
        
          | f32 jng::Camera::getOrthographicFar  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getOrthographicNear()
  
  
      
        
          | f32 jng::Camera::getOrthographicNear  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getOrthographicSize()
  
  
      
        
          | f32 jng::Camera::getOrthographicSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getPerspectiveFar()
  
  
      
        
          | f32 jng::Camera::getPerspectiveFar  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getPerspectiveFOV()
  
  
      
        
          | f32 jng::Camera::getPerspectiveFOV  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getPerspectiveNear()
  
  
      
        
          | f32 jng::Camera::getPerspectiveNear  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getProjection()
  
  
      
        
          | const glm::mat4 & jng::Camera::getProjection  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getProjectionType()
◆ getVP()
      
        
          | glm::mat4 jng::Camera::getVP  | 
          ( | 
          const glm::mat4  | 
          transform | ) | 
           const | 
        
      
 
 
◆ reset()
  
  
      
        
          | void jng::Camera::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setOrthographic()
      
        
          | void jng::Camera::setOrthographic  | 
          ( | 
          f32  | 
          oSize,  | 
        
        
           | 
           | 
          f32  | 
          oNear = -1.f,  | 
        
        
           | 
           | 
          f32  | 
          oFar = 1.f  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ setOrthographicFar()
  
  
      
        
          | void jng::Camera::setOrthographicFar  | 
          ( | 
          f32  | 
          oFar | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setOrthographicNear()
  
  
      
        
          | void jng::Camera::setOrthographicNear  | 
          ( | 
          f32  | 
          oNear | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setOrthographicSize()
  
  
      
        
          | void jng::Camera::setOrthographicSize  | 
          ( | 
          f32  | 
          oSize | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setPerspective()
      
        
          | void jng::Camera::setPerspective  | 
          ( | 
          f32  | 
          pFOV,  | 
        
        
           | 
           | 
          f32  | 
          pNear = 0.01f,  | 
        
        
           | 
           | 
          f32  | 
          pFar = 1000.f  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ setPerspectiveFar()
  
  
      
        
          | void jng::Camera::setPerspectiveFar  | 
          ( | 
          float  | 
          pFar | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setPerspectiveFOV()
  
  
      
        
          | void jng::Camera::setPerspectiveFOV  | 
          ( | 
          float  | 
          pFOV | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setPerspectiveNear()
  
  
      
        
          | void jng::Camera::setPerspectiveNear  | 
          ( | 
          float  | 
          pNear | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setProjectionType()
◆ setViewportSize()
      
        
          | void jng::Camera::setViewportSize  | 
          ( | 
          f32  | 
          width,  | 
        
        
           | 
           | 
          f32  | 
          height  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
The documentation for this class was generated from the following files: