X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexturecube.h;h=62f1189aa541426ff86d0cdcb5593604155a2dea;hb=6f8c0c6c088be92804cb413c0234bfb817ef2d8d;hp=7510a716a6be13dc6f884e4af41fe4d6b13ad143;hpb=93fa68debcd6e416a1b20f43077f7a79525aaecb;p=libs%2Fgl.git diff --git a/source/texturecube.h b/source/texturecube.h index 7510a716..62f1189a 100644 --- a/source/texturecube.h +++ b/source/texturecube.h @@ -1,10 +1,10 @@ #ifndef MSP_GL_TEXTURECUBE_H_ #define MSP_GL_TEXTURECUBE_H_ +#include #include #include "texture.h" #include "vector.h" -#include namespace Msp { namespace GL { @@ -85,7 +85,8 @@ public: unsigned get_size() const { return size; } private: - unsigned get_level_size(unsigned); + unsigned get_n_levels() const; + unsigned get_level_size(unsigned) const; public: /** Translates indices into face constants. Valid indices are between 0