X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fclipplane.h;h=f9dca0de5b6257d641a3bb63a5a86d45fe459e26;hp=98c633b70fd7933bedf39824aa0abe851b2f6412;hb=a275d25eccad43716c5dcf91f8bc4af2a53c0445;hpb=a77629d781eeb789870470c5ebdbd4b691e1b138 diff --git a/source/core/clipplane.h b/source/core/clipplane.h index 98c633b7..f9dca0de 100644 --- a/source/core/clipplane.h +++ b/source/core/clipplane.h @@ -13,6 +13,7 @@ class ClipPlane { private: Vector4 eq; + unsigned generation; public: ClipPlane(); @@ -21,7 +22,9 @@ public: void set_equation(const Vector4 &); void set_plane(const Vector3 &, const Vector3 &); - void update_shader_data(ProgramData &, const Matrix &, unsigned) const; + void update_shader_data(ProgramData &, unsigned) const; + + unsigned get_generation() const { return generation; } }; } // namespace GL