added void to Convert, corrected return object in VFb

This commit is contained in:
Paolo Cignoni 2004-05-10 13:13:17 +00:00
parent 700d8efbef
commit 30cac403d3
1 changed files with 6 additions and 2 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.9 2004/05/06 15:28:10 pietroni
changed names to VF topology function (was missed)
Revision 1.8 2004/05/05 17:03:25 pietroni Revision 1.8 2004/05/05 17:03:25 pietroni
changed name to topology functions changed name to topology functions
@ -371,7 +374,8 @@ inline VFTYPE * & VFb()
return _vfb; return _vfb;
#else #else
assert(0);// you are probably trying to use VF topology in a vertex without it assert(0);// you are probably trying to use VF topology in a vertex without it
return *((VFTYPE **)(_flags)); static VFTYPE *dum;
return dum;
#endif #endif
} }
@ -649,7 +653,7 @@ static bool HasVTAdjacency() {
//@{ //@{
template <class VERT_TYPE> template <class VERT_TYPE>
inline Convert( VERT_TYPE &v ) inline void Convert( VERT_TYPE &v )
{ {
P()=v.P(); P()=v.P();
Flags()=v.Flags(); Flags()=v.Flags();