From 21076524283807f68331f741ef58b9971961e8da Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Fri, 6 Apr 2018 13:42:50 +0200 Subject: [PATCH] guarded out old unused picking functions --- wrap/gl/pick.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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