removed harmless warning

This commit is contained in:
Paolo Cignoni 2009-04-22 10:31:33 +00:00
parent cc0204e797
commit 8bd0953add
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ namespace vcg
default: { assert(false); /* Invalid edge identifier */ }
} // end of switch
assert(vertices_idx[vert]>=0 && vertices_idx[vert]<_mesh->vert.size());
assert((vp - &_mesh->vert[0])>=0 && vertices_idx[vert]<_mesh->vert.size());
} // end for (int vert=0 ...)
_mesh->face[face_idx].V(0) = &_mesh->vert[vertices_idx[0]];