1 #ifndef MSP_GL_CLIPUNIT_H_
2 #define MSP_GL_CLIPUNIT_H_
15 const ClipPlane *plane;
17 static std::vector<ClipUnit> units;
22 unsigned get_index() const { return index; }
23 bool set_plane(const ClipPlane *);
24 const ClipPlane *get_plane() const { return plane; }
26 static unsigned get_n_units();
27 static ClipUnit &get_unit(unsigned);
28 static ClipUnit *find_unit(const ClipPlane *);