1 #ifndef MSP_GL_CLIPPLANE_H_
2 #define MSP_GL_CLIPPLANE_H_
14 Vector4 eq = { 0.0f, 0.0f, 0.0f, 1.0f };
15 unsigned generation = 0;
18 ClipPlane() = default;
19 ClipPlane(const Vector4 &);
20 ClipPlane(const Vector3 &, const Vector3 &);
22 void set_equation(const Vector4 &);
23 void set_plane(const Vector3 &, const Vector3 &);
24 void update_shader_data(ProgramData &, unsigned) const;
26 unsigned get_generation() const { return generation; }