guarded out old unused picking functions

This commit is contained in:
Paolo Cignoni 2018-04-06 13:42:50 +02:00
parent a15bb49904
commit 2107652428
1 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ public:
}
#ifdef _I_REALLY_NEED_OLD_GL_PICK_
// Same of above but it also assumes that you want only visible faces.
// Visibility is computed according to the current depth buffer.
static int OldPickFaceVisible(int x, int y, MESH_TYPE &m, std::vector<FacePointer> &resultZ, int width=4, int height=4, bool sorted=true)
@ -289,7 +289,6 @@ public:
return resultZ.size();
}
static int OldPickFace(int x, int y, MESH_TYPE &m, std::vector<FacePointer> &result, int width=4, int height=4,bool sorted=true)
{
result.clear();
@ -425,5 +424,6 @@ public:
};
}
#endif // _I_REALLY_NEED_OLD_GL_PICK_
#endif