X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fclipping.h;h=f682dc6459e6b0b1efbc9fab213dafa2c57a6b0e;hb=8e553af57b712051f47293c971671f4f6a939be2;hp=5600a38ba9d70f9ef4a96c89b315a22ea485f1f1;hpb=9b3bce7ae76ff8c0c81315d2505ea96bf422a318;p=libs%2Fgl.git diff --git a/source/core/clipping.h b/source/core/clipping.h index 5600a38b..f682dc64 100644 --- a/source/core/clipping.h +++ b/source/core/clipping.h @@ -2,17 +2,14 @@ #define MSP_GL_CLIPPING_H_ #include -#include -#include "bindable.h" #include "programdata.h" namespace Msp { namespace GL { class ClipPlane; -class Matrix; -class Clipping: public Bindable +class Clipping { private: struct AttachedPlane @@ -27,21 +24,12 @@ private: mutable ProgramData shdata; public: - DEPRECATED static unsigned get_n_attach_points(); - void attach(const ClipPlane &); void detach(const ClipPlane &); unsigned get_n_planes() const { return planes.size(); } - DEPRECATED void attach(unsigned, const ClipPlane &p) { attach(p); } - DEPRECATED void detach(unsigned); - const ProgramData &get_shader_data() const; - - void bind() const; - - static void unbind(); }; } // namespace GL