X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fclipping.h;h=f682dc6459e6b0b1efbc9fab213dafa2c57a6b0e;hb=8e553af57b712051f47293c971671f4f6a939be2;hp=d74763ab7c697f9cade4e94ab4b15bdb518e0a10;hpb=a275d25eccad43716c5dcf91f8bc4af2a53c0445;p=libs%2Fgl.git diff --git a/source/core/clipping.h b/source/core/clipping.h index d74763ab..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: - 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