minor refactor

This commit is contained in:
MihailRis 2024-05-05 20:08:25 +03:00
parent 75e56ebd83
commit 7f8a86b740
35 changed files with 76 additions and 83 deletions

View file

@ -1,5 +1,5 @@
#include "Camera.h"
#include "Window.h"
#include "Camera.hpp"
#include "Window.hpp"
#include <glm/ext.hpp>

View file

@ -1,5 +1,5 @@
#ifndef WINDOW_CAMERA_H_
#define WINDOW_CAMERA_H_
#ifndef WINDOW_CAMERA_HPP_
#define WINDOW_CAMERA_HPP_
#include <glm/glm.hpp>
@ -31,4 +31,4 @@ public:
float getFov() const;
};
#endif /* WINDOW_CAMERA_H_ */
#endif // WINDOW_CAMERA_HPP_

View file

@ -1,4 +1,5 @@
#include "Events.h"
#include "Events.hpp"
#include "Window.hpp"
#include "../debug/Logger.hpp"
#include <GL/glew.h>

View file

@ -1,8 +1,7 @@
#ifndef WINDOW_EVENTS_H_
#define WINDOW_EVENTS_H_
#ifndef WINDOW_EVENTS_HPP_
#define WINDOW_EVENTS_HPP_
#include "Window.h"
#include "input.h"
#include "input.hpp"
#include <string>
#include <vector>
@ -54,4 +53,4 @@ public:
static void loadBindings(const std::string& filename, const std::string& source);
};
#endif /* WINDOW_EVENTS_H_ */
#endif // WINDOW_EVENTS_HPP_

View file

@ -1,6 +1,6 @@
#include <iostream>
#include "Window.h"
#include "Events.h"
#include "Window.hpp"
#include "Events.hpp"
#include "../debug/Logger.hpp"
#include "../graphics/core/ImageData.hpp"
#include "../graphics/core/Texture.hpp"

View file

@ -1,5 +1,5 @@
#ifndef WINDOW_WINDOW_H_
#define WINDOW_WINDOW_H_
#ifndef WINDOW_WINDOW_HPP_
#define WINDOW_WINDOW_HPP_
#include "../typedefs.h"
@ -61,4 +61,4 @@ public:
static std::unique_ptr<ImageData> takeScreenshot();
};
#endif /* WINDOW_WINDOW_H_ */
#endif // WINDOW_WINDOW_HPP_

View file

@ -1,4 +1,4 @@
#include "input.h"
#include "input.hpp"
#include <GLFW/glfw3.h>
#include <unordered_map>

View file

@ -1,5 +1,5 @@
#ifndef WINDOW_INPUT_H_
#define WINDOW_INPUT_H_
#ifndef WINDOW_INPUT_HPP_
#define WINDOW_INPUT_HPP_
#include "../util/RunnablesList.hpp"
@ -154,4 +154,4 @@ struct Binding {
};
#endif // WINDOW_INPUT_H_
#endif // WINDOW_INPUT_HPP_