]> git.tdb.fi Git - libs/gl.git/blob - source/clip.h
bd8b1c5754af594e20a4daa165f9de6a6f42d426
[libs/gl.git] / source / clip.h
1 /* $Id$
2
3 This file is part of libmspgl
4 Copyright © 2008  Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_GL_CLIP_H_
9 #define MSP_GL_CLIP_H_
10
11 namespace Msp {
12 namespace GL {
13
14 class ClipPlane
15 {
16 public:
17         double eq[4];
18
19         ClipPlane(double, double, double, double);
20         void apply_to(unsigned);
21
22         static void disable(unsigned);
23 };
24
25 } // namespace GL
26 } // namespace Msp
27
28 #endif