X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fclipping.h;fp=source%2Fclipping.h;h=0000000000000000000000000000000000000000;hp=e42c28e6394b6c1c519afc26f182957b1f75be20;hb=7aaec9a70b8d7733429bec043f8e33e02956f266;hpb=bec07999d95b76f4b47cffcc564d0cd0afc0435e 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