Added a class prototype for avoiding the inclusion of tetra.h
This commit is contained in:
parent
c88392e13b
commit
67007b3691
|
@ -23,6 +23,9 @@
|
|||
/****************************************************************************
|
||||
History
|
||||
$Log: not supported by cvs2svn $
|
||||
Revision 1.9 2006/12/04 09:27:13 cignoni
|
||||
Removed useless include <tetra.h>
|
||||
|
||||
****************************************************************************/
|
||||
#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<TetraPointer> &result, int width=4, int height=4)
|
||||
{
|
||||
result.clear();
|
||||
|
|
Loading…
Reference in New Issue