X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fclipping.h;h=f682dc6459e6b0b1efbc9fab213dafa2c57a6b0e;hb=6065f6622cc275dc0b20baaf7c267e71169d18f3;hp=b07195231423ca139a174af18c202c80153f6602;hpb=2d3113a7dbbe4be2f1d1e8980c1c4e42175163da;p=libs%2Fgl.git diff --git a/source/core/clipping.h b/source/core/clipping.h index b0719523..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,19 +24,12 @@ private: mutable ProgramData shdata; public: - DEPRECATED static unsigned get_n_attach_points(); - void attach(const ClipPlane &); void detach(const ClipPlane &); - DEPRECATED void attach(unsigned, const ClipPlane &p) { attach(p); } - DEPRECATED void detach(unsigned); + unsigned get_n_planes() const { return planes.size(); } const ProgramData &get_shader_data() const; - - void bind() const; - - static void unbind(); }; } // namespace GL