small gcc compiling issues (typename, super class disambiguations etc)

This commit is contained in:
Paolo Cignoni cignoni 2010-06-01 07:38:31 +00:00
parent 8f6e023d37
commit c8dde3d48d
3 changed files with 4 additions and 4 deletions

View File

@ -100,7 +100,7 @@ class IsoTransfer
///then for each vertex find the closest
for (int i=0;i<to_assing.vert.size();i++)
{
MeshType::VertexType *vert=&to_assing.vert[i];
typename MeshType::VertexType *vert=&to_assing.vert[i];
if (!vert->IsD())
{
ScalarType dist;
@ -132,4 +132,4 @@ class IsoTransfer
};
#endif
#endif

View File

@ -57,7 +57,7 @@ public:
}
inline bool IsFeasible(){
return LinkConditions(pos);
return LinkConditions(Super::pos);
}
inline void SetHlevMeshUV(const std::vector<BaseFace*> &LowFace,

View File

@ -324,7 +324,7 @@ private:
fmin=f;
index=vfi2.I();
}
vfi2++;
++vfi2;
}
CoordType bary=CoordType(0,0,0);
bary[index]=1.f;