X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexturecube.h;h=127251d6497735b50267672807e8f4459b608988;hb=e1be82a4dfce8d90358c506f65be09da4dc9d5ec;hp=eef377e34105742236e18e484d68f829825f27b6;hpb=260ecf71f02d4b3397e4f6c80d96a7c4ba473185;p=libs%2Fgl.git diff --git a/source/core/texturecube.h b/source/core/texturecube.h index eef377e3..127251d6 100644 --- a/source/core/texturecube.h +++ b/source/core/texturecube.h @@ -49,7 +49,6 @@ public: private: unsigned size = 0; - unsigned levels = 0; static const Vector3 directions[6]; static const unsigned orientations[12]; @@ -82,7 +81,6 @@ public: unsigned get_size() const { return size; } private: - unsigned get_n_levels() const; unsigned get_level_size(unsigned) const; public: @@ -97,10 +95,6 @@ public: /** Returns a vector pointing to the center of a texel. */ Vector3 get_texel_direction(TextureCubeFace, unsigned, unsigned); - - virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; } - virtual std::size_t get_data_size() const; - virtual void unload() { } }; void operator>>(const LexicalConverter &, TextureCubeFace &);