From 67007b369180508b05f42f54f196515545165410 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 7 Dec 2006 00:39:22 +0000 Subject: [PATCH] Added a class prototype for avoiding the inclusion of tetra.h --- wrap/gl/pick.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wrap/gl/pick.h b/wrap/gl/pick.h index fe913265..575d16d0 100644 --- a/wrap/gl/pick.h +++ b/wrap/gl/pick.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log: not supported by cvs2svn $ +Revision 1.9 2006/12/04 09:27:13 cignoni +Removed useless include + ****************************************************************************/ #ifndef __PICK______H #define __PICK______H @@ -151,6 +154,10 @@ static bool PickNearestTetra(int x, int y,TETRA_MESH_TYPE &m, TetraIterator &ti, return false; } + +// class prototype needed for avoid the inclusion of tetra.h +class Tetra; + static int PickTetra(int x, int y, TETRA_MESH_TYPE &m, std::vector &result, int width=4, int height=4) { result.clear();