diff --git a/wrap/gl/pick.h b/wrap/gl/pick.h index 1bff385f..a9b3625c 100644 --- a/wrap/gl/pick.h +++ b/wrap/gl/pick.h @@ -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 &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 &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