Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType
This commit is contained in:
parent
934e5d9e3e
commit
babd813674
|
@ -131,7 +131,7 @@ static void SeedToVertexConversion(MeshType &m,std::vector<CoordType> &seedPVec,
|
||||||
typename std::vector<CoordType>::iterator pi;
|
typename std::vector<CoordType>::iterator pi;
|
||||||
for(pi=seedPVec.begin();pi!=seedPVec.end();++pi)
|
for(pi=seedPVec.begin();pi!=seedPVec.end();++pi)
|
||||||
{
|
{
|
||||||
float dist;
|
ScalarType dist;
|
||||||
VertexPointer vp;
|
VertexPointer vp;
|
||||||
vp=tri::GetClosestVertex<MeshType,HashVertexGrid>(m, HG, *pi, dist_upper_bound, dist);
|
vp=tri::GetClosestVertex<MeshType,HashVertexGrid>(m, HG, *pi, dist_upper_bound, dist);
|
||||||
if(vp)
|
if(vp)
|
||||||
|
|
Loading…
Reference in New Issue