diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-03-22 16:36:07 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:51 +0100 |
commit | f565f417f386c5d13f73da8b3eca19847dc4367c (patch) | |
tree | b97a90936792fdfe382a0f703d643ca623468f6d /src/menu | |
parent | 4f31d71c8164a84a45aa1e2408e0e2cb54ff30bb (diff) | |
download | usdx-f565f417f386c5d13f73da8b3eca19847dc4367c.tar.gz usdx-f565f417f386c5d13f73da8b3eca19847dc4367c.tar.xz usdx-f565f417f386c5d13f73da8b3eca19847dc4367c.zip |
utils/dimension: added template for types of the metrics
Diffstat (limited to 'src/menu')
-rw-r--r-- | src/menu/texture.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu/texture.hpp b/src/menu/texture.hpp index 6e1ea640..19197b0a 100644 --- a/src/menu/texture.hpp +++ b/src/menu/texture.hpp @@ -49,10 +49,10 @@ namespace usdx class TextureSizeException : public TextureLoadException { private: - Dimension size; + Dimension<int> size; public: - TextureSizeException(Dimension size) : size(size) { }; + TextureSizeException(Dimension<int> size) : size(size) { }; virtual ~TextureSizeException() { }; }; @@ -76,7 +76,7 @@ namespace usdx GLuint texture; GLenum texture_format; - Dimension size; + Dimension<int> size; float rotation; ///< radiant (0 - 2*pi) |