Unittests now use the Point/Normal types related to the mesh type, instead of relying on them being OpenMesh vectors.

This commit is contained in:
Christian Mattes
2018-04-12 15:18:11 +02:00
parent 377562d11a
commit 5a2f426d8c
4 changed files with 25 additions and 24 deletions

View File

@@ -185,7 +185,7 @@ LoadInfo open_progresult_mesh(const std::string& _filename)
OpenMesh::IO::restore(ifs, vr, swap);
PMInfo pminfo;
pminfo.p0 = p;
pminfo.p0 = OpenMesh::vector_cast<Mesh::Point>(p);
pminfo.v0 = result.mesh.add_vertex(p);
pminfo.v1 = Mesh::VertexHandle(v1);
pminfo.vl = Mesh::VertexHandle(vl);