minor refactor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "Camera.h"
|
||||
#include "Window.h"
|
||||
#include "Camera.hpp"
|
||||
#include "Window.hpp"
|
||||
|
||||
#include <glm/ext.hpp>
|
||||
|
||||
|
||||
@@ -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_
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Events.h"
|
||||
#include "Events.hpp"
|
||||
#include "Window.hpp"
|
||||
#include "../debug/Logger.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
@@ -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_
|
||||
@@ -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"
|
||||
|
||||
@@ -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_
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "input.h"
|
||||
#include "input.hpp"
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
@@ -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_
|
||||
Reference in New Issue
Block a user