mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
~ | ImGui camera modification
This commit is contained in:
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user