diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-24 01:27:57 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-24 01:27:57 +0100 |
commit | f9cc383fc697a884413bda65d75e0e13dfcf3cbb (patch) | |
tree | d14fc79e12e0a4983cbbc60167a8d1ef34daaa89 /include | |
parent | f96af48ad82f1ddfab1402ca5c6eafd82af2b217 (diff) | |
download | YAGE-f9cc383fc697a884413bda65d75e0e13dfcf3cbb.tar.gz YAGE-f9cc383fc697a884413bda65d75e0e13dfcf3cbb.zip |
Fixing namespace.
Diffstat (limited to 'include')
-rw-r--r-- | include/YAGE/Math/matrix.hpp | 6 | ||||
-rw-r--r-- | include/YAGE/Physics/particlebody.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/Physics/rectanglecollider.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/Physics/rigidbody.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/camera2d.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/glslprogram.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/imageloader.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/inputmanager.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/iomanager.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/picopng.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/resourcemanager.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/sprite.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/texture.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/texturecache.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/vertex.hpp | 2 | ||||
-rw-r--r-- | include/YAGE/yage.hpp | 3 |
16 files changed, 19 insertions, 18 deletions
diff --git a/include/YAGE/Math/matrix.hpp b/include/YAGE/Math/matrix.hpp index e2dd1944..5d29a788 100644 --- a/include/YAGE/Math/matrix.hpp +++ b/include/YAGE/Math/matrix.hpp @@ -77,7 +77,7 @@ public: } }; -} // detail +} // namespace detail /** Base Matrix class used by other similar classes. * @@ -412,8 +412,8 @@ Matrix<M, Q, T> multiply(const Matrix<M, N, T> &m1, const Matrix<P, Q, T> &m2) return res; } -} // matrix +} // namespace matrix -} // yage +} // namespace yage #endif diff --git a/include/YAGE/Physics/particlebody.hpp b/include/YAGE/Physics/particlebody.hpp index a3091773..15f1ae5a 100644 --- a/include/YAGE/Physics/particlebody.hpp +++ b/include/YAGE/Physics/particlebody.hpp @@ -27,6 +27,6 @@ public: void update() override; }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/Physics/rectanglecollider.hpp b/include/YAGE/Physics/rectanglecollider.hpp index ba1d8384..f6f6c481 100644 --- a/include/YAGE/Physics/rectanglecollider.hpp +++ b/include/YAGE/Physics/rectanglecollider.hpp @@ -25,6 +25,6 @@ public: bool inside(const glm::vec2 &point) const override; }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/Physics/rigidbody.hpp b/include/YAGE/Physics/rigidbody.hpp index 6fc969f5..48ca6761 100644 --- a/include/YAGE/Physics/rigidbody.hpp +++ b/include/YAGE/Physics/rigidbody.hpp @@ -23,6 +23,6 @@ public: const Vector2d &velocity = Vector2d(0, 0), bool gravity = true); }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/camera2d.hpp b/include/YAGE/camera2d.hpp index 89f2f35c..354b3a17 100644 --- a/include/YAGE/camera2d.hpp +++ b/include/YAGE/camera2d.hpp @@ -35,6 +35,6 @@ public: void move(const glm::vec2 &direction); }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/glslprogram.hpp b/include/YAGE/glslprogram.hpp index eaa19c52..154e2e57 100644 --- a/include/YAGE/glslprogram.hpp +++ b/include/YAGE/glslprogram.hpp @@ -47,6 +47,6 @@ public: void unuse(); }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/imageloader.hpp b/include/YAGE/imageloader.hpp index a9c00c4b..770307d1 100644 --- a/include/YAGE/imageloader.hpp +++ b/include/YAGE/imageloader.hpp @@ -22,6 +22,6 @@ public: static Texture loadPng(const std::string &file_path); }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/inputmanager.hpp b/include/YAGE/inputmanager.hpp index 0d5c65e7..61c5ce53 100644 --- a/include/YAGE/inputmanager.hpp +++ b/include/YAGE/inputmanager.hpp @@ -24,5 +24,5 @@ public: void keyReleased(unsigned key); bool isKeyPressed(unsigned key) const; }; -} +} // namespace yage #endif diff --git a/include/YAGE/iomanager.hpp b/include/YAGE/iomanager.hpp index 35f77e43..4f30e51c 100644 --- a/include/YAGE/iomanager.hpp +++ b/include/YAGE/iomanager.hpp @@ -22,6 +22,6 @@ public: std::vector<unsigned char> &buffer); }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/picopng.hpp b/include/YAGE/picopng.hpp index ded8ffa1..c0a42c28 100644 --- a/include/YAGE/picopng.hpp +++ b/include/YAGE/picopng.hpp @@ -17,4 +17,4 @@ extern int decodePNG(std::vector<unsigned char> &out_image, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32 = true); -} // yage +} // namespace yage diff --git a/include/YAGE/resourcemanager.hpp b/include/YAGE/resourcemanager.hpp index 38587dfc..ebd30476 100644 --- a/include/YAGE/resourcemanager.hpp +++ b/include/YAGE/resourcemanager.hpp @@ -26,6 +26,6 @@ public: static Texture getTexture(const std::string &texture_path); }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/sprite.hpp b/include/YAGE/sprite.hpp index 4b5f2489..28e13437 100644 --- a/include/YAGE/sprite.hpp +++ b/include/YAGE/sprite.hpp @@ -42,6 +42,6 @@ public: void draw(); }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/texture.hpp b/include/YAGE/texture.hpp index b5fe7acd..d2cc3bdd 100644 --- a/include/YAGE/texture.hpp +++ b/include/YAGE/texture.hpp @@ -20,6 +20,6 @@ struct Texture { int height; }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/texturecache.hpp b/include/YAGE/texturecache.hpp index 9765b919..1542ad79 100644 --- a/include/YAGE/texturecache.hpp +++ b/include/YAGE/texturecache.hpp @@ -27,6 +27,6 @@ public: Texture getTexture(const std::string &texture_path); }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/vertex.hpp b/include/YAGE/vertex.hpp index 9201393b..ef379888 100644 --- a/include/YAGE/vertex.hpp +++ b/include/YAGE/vertex.hpp @@ -79,6 +79,6 @@ struct Vertex { } }; -} // yage +} // namespace yage #endif diff --git a/include/YAGE/yage.hpp b/include/YAGE/yage.hpp index 50a1f857..f7b32683 100644 --- a/include/YAGE/yage.hpp +++ b/include/YAGE/yage.hpp @@ -36,6 +36,7 @@ void quit() { SDL_Quit(); } -}; + +} // namespace yage #endif |