added missing typenames

This commit is contained in:
Paolo Cignoni 2007-10-02 07:52:00 +00:00
parent 2a4549f7ef
commit ddc8bd5706
2 changed files with 4 additions and 4 deletions

View File

@ -79,14 +79,14 @@ namespace io {
for(typename OpenMeshType::VertexIterator itv = m.vert.begin();itv != m.vert.end();++itv)
{
vcg::Point3f p(itv->P().X(),itv->P().Y(),itv->P().Z());
PolyMesh::VertexType v;
typename PolyMesh::VertexType v;
v.P() = p;
pm.vert.push_back(v);
}
int polylist_size = polylist.size();
for(int pl = 0; pl < polylist_size;++pl)
{
PolyMesh::PERWEDGEATTRIBUTETYPE att = PolyMesh::NONE;
typename PolyMesh::PERWEDGEATTRIBUTETYPE att = PolyMesh::NONE;
WedgeAttribute wa;
FindStandardWedgeAttributes(wa,polylist.at(pl),*(info->dae->doc));

View File

@ -120,10 +120,10 @@ namespace io {
void generatePointsVector(std::vector<std::vector<vcg::Point3f> >& v)
{
for(PolygonalMesh::PolygonIterator itp = _pols.begin();itp != _pols.end();++itp)
for(typename PolygonalMesh::PolygonIterator itp = _pols.begin();itp != _pols.end();++itp)
{
v.push_back(std::vector<vcg::Point3f>());
for(std::vector<VertexPointer>::iterator itv = itp->_pv.begin();itv != itp->_pv.end();++itv)
for(typename std::vector<VertexPointer>::iterator itv = itp->_pv.begin();itv != itp->_pv.end();++itv)
{
v[v.size() - 1].push_back((*itv)->P());
}