~ | ImGui camera modification

This commit is contained in:
TheRedShip
2025-01-12 17:51:26 +01:00
parent 3f7eb5e05a
commit fec85708b6
7 changed files with 74 additions and 31 deletions

View File

@ -42,14 +42,14 @@ class Camera
glm::vec3 getPosition();
glm::vec2 getDirection();
glm::vec3 getViewSetting();
glm::mat4 getViewMatrix();
int getBounce();
float getFov();
float getVelocity();
float &getFov();
float &getAperture();
float &getFocus();
int &getBounce();
GPUCamera getGPUData();

View File

@ -33,6 +33,9 @@ class Window
static void mouseMoveCallback(GLFWwindow *window, double xpos, double ypos);
static void mouseButtonCallback(GLFWwindow *window, int button, int action, int mods);
void imGuiNewFrame();
void imGuiRender();
GLFWwindow *getWindow(void) const;
float getFps(void) const;
int getFrameCount(void) const;