Commit 32588006 authored by Jan Möbius's avatar Jan Möbius

Fixed build errors on linux

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11874 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 890a333b
......@@ -274,7 +274,7 @@ DrawMeshT<Mesh>::rebuild()
// minimize vertex buffer
unsigned int* pTmpVertexRemap = new unsigned int[3 * numTris_];
std::list<std::pair<unsigned int, unsigned int>> duplicatesMap;
std::list< std::pair<unsigned int, unsigned int> > duplicatesMap;
newNumVerts = weldVertices(&dstVertexBuffer[0],
&tmpVertexBuffer[0], &tris[0], &pTmpVertexRemap[0], pVertexRemap, duplicatesMap);
......@@ -329,7 +329,7 @@ DrawMeshT<Mesh>::rebuild()
invVertexMap_[mesh_.to_vertex_handle(hh).idx()] = i;
}
std::list<std::pair<unsigned int, unsigned int>>::iterator duplIt;
std::list< std::pair<unsigned int, unsigned int> >::iterator duplIt;
for (duplIt = duplicatesMap.begin(); duplIt != duplicatesMap.end(); ++duplIt)
{
unsigned int idx = invVertexMap_[duplIt->second]; // final vertex index in DrawMesh
......@@ -493,7 +493,7 @@ DrawMeshT<Mesh>::weldVertices(Vertex* _dstVertexBuf,
unsigned int* _dstIndexBuf,
unsigned int* _dstVertexMap,
const unsigned int* _srcVertexMap,
std::list<std::pair<unsigned int, unsigned int>>& _duplicatesMap)
std::list< std::pair<unsigned int, unsigned int> >& _duplicatesMap)
{
unsigned int newCount = 0;
unsigned int hashSize = intNextPowerOfTwo(3 * numTris_);
......
......@@ -317,7 +317,7 @@ private:
unsigned int* _dstIndexBuf,
unsigned int* _dstVertexMap,
const unsigned int* _srcVertexMap,
std::list<std::pair<unsigned int, unsigned int>>& _duplicatesMap);
std::list< std::pair<unsigned int, unsigned int> >& _duplicatesMap);
/** \brief sort triangles by material id
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment