X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fclipping.h;h=2a4330bac2ecb55dfffae77534ad4196418c3de7;hb=HEAD;hp=e42c28e6394b6c1c519afc26f182957b1f75be20;hpb=a40fc85277dba5c34402a0e703d038efd30cc57b;p=libs%2Fgl.git diff --git a/source/clipping.h b/source/clipping.h deleted file mode 100644 index e42c28e6..00000000 --- a/source/clipping.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef MSP_GL_CLIPPING_H_ -#define MSP_GL_CLIPPING_H_ - -#include -#include "bindable.h" - -namespace Msp { -namespace GL { - -class ClipPlane; -class Matrix; -class ProgramData; - -class Clipping: public Bindable -{ -private: - std::vector planes; - -public: - static unsigned get_n_attach_points(); - - void attach(unsigned, const ClipPlane &); - void detach(unsigned); - - void update_shader_data(ProgramData &, const Matrix &) const; - - void bind() const; - - static void unbind(); -}; - -} // namespace GL -} // namespace Msp - -#endif