]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/clipping.cpp
Remove remaining deprecated things from the core classes
[libs/gl.git] / source / core / clipping.cpp
index d23ecffc0c2549c5eb2d3fe837213a63e99b337e..c278942361865657a2dfd663f93c3ce0a04c2371 100644 (file)
@@ -9,11 +9,6 @@ using namespace std;
 namespace Msp {
 namespace GL {
 
-unsigned Clipping::get_n_attach_points()
-{
-       return Limits::get_global().max_clip_planes;
-}
-
 void Clipping::attach(const ClipPlane &p)
 {
        if(find_member(planes, &p, &AttachedPlane::plane)!=planes.end())
@@ -31,12 +26,6 @@ void Clipping::detach(const ClipPlane &p)
                planes.erase(i);
 }
 
-void Clipping::detach(unsigned i)
-{
-       if(i<planes.size())
-               detach(*planes[i].plane);
-}
-
 const ProgramData &Clipping::get_shader_data() const
 {
        for(unsigned i=0; i<planes.size(); ++i)