Added clarifying comment in an assert
This commit is contained in:
parent
e739c6628f
commit
4f73a93dd0
|
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.15 2004/10/20 07:33:10 cignoni
|
||||||
|
removed FaceBorderFlags (already present in update/flags.h)
|
||||||
|
|
||||||
Revision 1.14 2004/10/18 17:10:22 ganovelli
|
Revision 1.14 2004/10/18 17:10:22 ganovelli
|
||||||
added ::FaceBorderFLags
|
added ::FaceBorderFLags
|
||||||
|
|
||||||
|
|
@ -115,7 +118,7 @@ void Set( FacePointer pf, const int nz )
|
||||||
|
|
||||||
v[0] = pf->V(nz);
|
v[0] = pf->V(nz);
|
||||||
v[1] = pf->V((nz+1)%3);
|
v[1] = pf->V((nz+1)%3);
|
||||||
assert(v[0] != v[1]);
|
assert(v[0] != v[1]); // The face pointed by 'f' is Degenerate (two coincident vertexes)
|
||||||
|
|
||||||
if( v[0] > v[1] ) math::Swap(v[0],v[1]);
|
if( v[0] > v[1] ) math::Swap(v[0],v[1]);
|
||||||
f = pf;
|
f = pf;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue