diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-24 00:25:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 00:25:31 +0100 |
commit | a326354ea6fccf76665a4212bf14daeba0f52ec8 (patch) | |
tree | 18cd2deb0c30b38d8ca7c5305735d2323259e020 /include/YAGE/texturecache.hpp | |
parent | 0a49874288f92c120d7e165550eb6dbbe1ef7307 (diff) | |
parent | 5403490b941f7c031bf1aafdb91b1098f69edbf2 (diff) | |
download | YAGE-0.1.0.tar.gz YAGE-0.1.0.zip |
Merge pull request #3 from ymherklotz/developv0.1.0
Merge develop to master
Diffstat (limited to 'include/YAGE/texturecache.hpp')
-rw-r--r-- | include/YAGE/texturecache.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/YAGE/texturecache.hpp b/include/YAGE/texturecache.hpp index 0de5c12a..9765b919 100644 --- a/include/YAGE/texturecache.hpp +++ b/include/YAGE/texturecache.hpp @@ -13,18 +13,20 @@ #include <unordered_map> -namespace yage { +namespace yage +{ -class TextureCache { +class TextureCache +{ private: std::unordered_map<std::string, Texture> texture_map_; public: TextureCache(); - Texture getTexture(const std::string& texture_path); + Texture getTexture(const std::string &texture_path); }; -} // yage +} // yage #endif |