X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogramdata.h;h=6f9242e688928bd9e001f46419a1d04562845471;hb=259254bc46e3aec6f719e1aea5e4936569c15b6e;hp=39b44583a0eb26ef31119ea90c5823537553f32d;hpb=a8b400939e1325ed1efeb697771ba38156729d00;p=libs%2Fgl.git diff --git a/source/programdata.h b/source/programdata.h index 39b44583..6f9242e6 100644 --- a/source/programdata.h +++ b/source/programdata.h @@ -4,17 +4,16 @@ #include #include #include "program.h" +#include "vector.h" namespace Msp { namespace GL { class Buffer; -class Color; class Matrix; class Uniform; class UniformBlock; -class Vector3; -class Vector4; +struct Color; /** Stores uniform variables for shader programs. The uniforms are stored in a @@ -58,7 +57,7 @@ private: }; typedef std::map UniformMap; - typedef std::map BlockMap; + typedef std::map BlockMap; // XXX All these mutables are a bit silly, but I'm out of better ideas UniformMap uniforms; @@ -67,10 +66,10 @@ private: mutable Buffer *buffer; mutable Changes changes; - ProgramData &operator=(const ProgramData &); public: ProgramData(); ProgramData(const ProgramData &); + ProgramData &operator=(const ProgramData &); ~ProgramData(); private: