Maybe I'll still need to figure out its render mechanism,
thx for your reply~
// m_pXXX - Pointer to specific lump data
for (size_t i = 0; i < m_FaceNum; ++i)
{
for (size_t j = 0; j < m_pFaces[i].edgeNum; ++j)
{
Int32 edgeID = m_pSurfaceEdge[m_pFaces[i].firstEdgeId + j];
if (edgeID > 0)
IDs.push_back(m_pEdges[edgeID].first);
else
IDs.push_back(m_pEdges[-edgeID].second);
}
}