replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef WINDOW_CAMERA_HPP_
|
||||
#define WINDOW_CAMERA_HPP_
|
||||
#pragma once
|
||||
|
||||
#define GLM_FORCE_RADIANS
|
||||
#include <glm/glm.hpp>
|
||||
@@ -35,5 +34,3 @@ public:
|
||||
void setFov(float fov);
|
||||
float getFov() const;
|
||||
};
|
||||
|
||||
#endif // WINDOW_CAMERA_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WINDOW_EVENTS_HPP_
|
||||
#define WINDOW_EVENTS_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
@@ -56,5 +55,3 @@ public:
|
||||
const std::string& filename, const std::string& source
|
||||
);
|
||||
};
|
||||
|
||||
#endif // WINDOW_EVENTS_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WINDOW_WINDOW_HPP_
|
||||
#define WINDOW_WINDOW_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <memory>
|
||||
@@ -63,5 +62,3 @@ public:
|
||||
|
||||
static std::unique_ptr<ImageData> takeScreenshot();
|
||||
};
|
||||
|
||||
#endif // WINDOW_WINDOW_HPP_
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef WINDOW_INPUT_HPP_
|
||||
#define WINDOW_INPUT_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -167,5 +166,3 @@ struct Binding {
|
||||
return "<unknown input type>";
|
||||
}
|
||||
};
|
||||
|
||||
#endif // WINDOW_INPUT_HPP_
|
||||
|
||||
Reference in New Issue
Block a user