+ | Trying noise but poorly for now

This commit is contained in:
TheRedShip
2024-12-27 12:05:22 +01:00
parent ebb8ca36bd
commit dfc37301e4
6 changed files with 97 additions and 75 deletions

View File

@ -23,9 +23,6 @@ class Window
Window(Scene *scene, int width, int height, const char *title, int sleep);
~Window(void);
GLFWwindow *getWindow(void) const;
float getFps(void) const;
void display();
void pollEvents();
bool shouldClose();
@ -35,11 +32,16 @@ class Window
static void keyCallback(GLFWwindow *window, int key, int scancode, int action, int mods);
static void mouseMoveCallback(GLFWwindow *window, double xpos, double ypos);
static void mouseButtonCallback(GLFWwindow *window, int button, int action, int mods);
GLFWwindow *getWindow(void) const;
float getFps(void) const;
int getFrameCount(void) const;
private:
GLFWwindow *_window;
Scene *_scene;
int _frameCount;
float _fps;
};