[Namespaces changes]
trimesh->tri clean up of some namespaces to comply the following naming: Complexes (3 letters namespaces): order 0 (point cloud ) :vrt order 1 (edge meshes) :edg order 2 (triangle meshes) :tri order 3 (triangle meshes) :tet Simplexes (4 letters namespaces): order 0 (vertex) :vert order 1 (edge) :edge order 2 (triangle) :triangle order 3 (tetrahedron) :tetrahedron
This commit is contained in:
parent
a73a806d8b
commit
26bf0e3266
|
@ -624,7 +624,7 @@ class Pivot {
|
||||||
std::vector<float> &dists) {
|
std::vector<float> &dists) {
|
||||||
std::vector<CVertex *> ptr;
|
std::vector<CVertex *> ptr;
|
||||||
std::vector<Point3f> points;
|
std::vector<Point3f> points;
|
||||||
int n = vcg::trimesh::GetInSphereVertex(mesh, grid, p, distance, ptr, dists, points);
|
int n = vcg::tri::GetInSphereVertex(mesh, grid, p, distance, ptr, dists, points);
|
||||||
for(int i = 0; i < ptr.size(); i++)
|
for(int i = 0; i < ptr.size(); i++)
|
||||||
results.push_back(ptr[i] - &(mesh.vert[0]));
|
results.push_back(ptr[i] - &(mesh.vert[0]));
|
||||||
return n;
|
return n;
|
||||||
|
|
Loading…
Reference in New Issue