mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
replace include guards with pragma once
This commit is contained in:
parent
f43cc93cd2
commit
de5c75d782
164 changed files with 166 additions and 656 deletions
|
|
@ -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_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue