X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fclipunit.h;fp=source%2Fclipunit.h;h=0000000000000000000000000000000000000000;hb=a40fc85277dba5c34402a0e703d038efd30cc57b;hp=b4af96708dc5dcfdb046afc030e89fa63557dd3c;hpb=2fa1bb084e54af7134b44d3ee7512056e28de67e;p=libs%2Fgl.git diff --git a/source/clipunit.h b/source/clipunit.h deleted file mode 100644 index b4af9670..00000000 --- a/source/clipunit.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef MSP_GL_CLIPUNIT_H_ -#define MSP_GL_CLIPUNIT_H_ - -#include - -namespace Msp { -namespace GL { - -class ClipPlane; - -class ClipUnit -{ -private: - unsigned index; - const ClipPlane *plane; - - static std::vector units; - - ClipUnit(); - -public: - unsigned get_index() const { return index; } - bool set_plane(const ClipPlane *); - const ClipPlane *get_plane() const { return plane; } - - static unsigned get_n_units(); - static ClipUnit &get_unit(unsigned); - static ClipUnit *find_unit(const ClipPlane *); -}; - -} // namespace GL -} // namespace Msp - -#endif