corrected syntax error in use fo IsValidPointer

This commit is contained in:
Paolo Cignoni 2016-05-11 10:55:28 +00:00
parent c870c26f12
commit 751a4ae261
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ static void TestVertexFace(MeshType &m)
if(vi->VFp()!=0) // unreferenced vertices MUST have VF == 0; if(vi->VFp()!=0) // unreferenced vertices MUST have VF == 0;
{ {
int num=0; int num=0;
assert(tri::IsValidPointer(vi->VFp())); assert(tri::IsValidPointer(m, vi->VFp()));
VFi.f=vi->VFp(); VFi.f=vi->VFp();
VFi.z=vi->VFi(); VFi.z=vi->VFi();
while (!VFi.End()) while (!VFi.End())