#include <Camera.h>
Definition at line 16 of file Camera.h.
 
◆ CameraType
| Enumerator | 
|---|
| lookat  |  | 
| firstperson  |  | 
Definition at line 51 of file Camera.h.
 
 
◆ getFarClip()
  
  
      
        
          | float Camera::getFarClip  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getNearClip()
  
  
      
        
          | float Camera::getNearClip  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ moving()
◆ rotate()
  
  
      
        
          | void Camera::rotate  | 
          ( | 
          glm::vec3 |           delta | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setMovementSpeed()
  
  
      
        
          | void Camera::setMovementSpeed  | 
          ( | 
          float |           movementSpeed | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setPerspective()
  
  
      
        
          | void Camera::setPerspective  | 
          ( | 
          float |           fov,  | 
         
        
           | 
           | 
          float |           aspect,  | 
         
        
           | 
           | 
          float |           znear,  | 
         
        
           | 
           | 
          float |           zfar ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ setPosition()
  
  
      
        
          | void Camera::setPosition  | 
          ( | 
          glm::vec3 |           position | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setRotation()
  
  
      
        
          | void Camera::setRotation  | 
          ( | 
          glm::vec3 |           rotation | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setRotationSpeed()
  
  
      
        
          | void Camera::setRotationSpeed  | 
          ( | 
          float |           rotationSpeed | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ setTranslation()
  
  
      
        
          | void Camera::setTranslation  | 
          ( | 
          glm::vec3 |           translation | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ translate()
  
  
      
        
          | void Camera::translate  | 
          ( | 
          glm::vec3 |           delta | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ update()
  
  
      
        
          | void Camera::update  | 
          ( | 
          float |           deltaTime | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ updateAspectRatio()
  
  
      
        
          | void Camera::updateAspectRatio  | 
          ( | 
          float |           aspect | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ updatePad()
  
  
      
        
          | bool Camera::updatePad  | 
          ( | 
          glm::vec2 |           axisLeft,  | 
         
        
           | 
           | 
          glm::vec2 |           axisRight,  | 
         
        
           | 
           | 
          float |           deltaTime ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ updateViewMatrix()
  
  
      
        
          | void Camera::updateViewMatrix  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineprivate   | 
  
 
 
◆ down
      
        
          | bool Camera::down = false | 
        
      
 
 
◆ flipY
      
        
          | bool Camera::flipY = true | 
        
      
 
 
◆ fov
◆ [struct]
      
        
          | struct  { ... }  Camera::keys | 
        
      
 
 
◆ left
      
        
          | bool Camera::left = false | 
        
      
 
 
◆ [struct]
      
        
          | struct  { ... }  Camera::matrices | 
        
      
 
 
◆ movementSpeed
      
        
          | float Camera::movementSpeed = 1.0f | 
        
      
 
 
◆ perspective
      
        
          | glm::mat4 Camera::perspective | 
        
      
 
 
◆ position
      
        
          | glm::vec3 Camera::position = glm::vec3() | 
        
      
 
 
◆ right
      
        
          | bool Camera::right = false | 
        
      
 
 
◆ rotation
      
        
          | glm::vec3 Camera::rotation = glm::vec3() | 
        
      
 
 
◆ rotationSpeed
      
        
          | float Camera::rotationSpeed = 1.0f | 
        
      
 
 
◆ type
◆ up
◆ updated
      
        
          | bool Camera::updated = false | 
        
      
 
 
◆ view
◆ viewPos
      
        
          | glm::vec4 Camera::viewPos = glm::vec4() | 
        
      
 
 
◆ zfar
◆ znear
The documentation for this class was generated from the following file:
- D:/Peridyno/peridyno/src/Rendering/GUI/ImGUI/Camera.h