guarded out old unused picking functions
This commit is contained in:
parent
a15bb49904
commit
2107652428
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue