added missing typenames
This commit is contained in:
parent
2a4549f7ef
commit
ddc8bd5706
|
@ -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));
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue