This commit is contained in:
parent
1a9ca66995
commit
ebdb695b89
5 changed files with 30 additions and 30 deletions
|
@ -162,17 +162,17 @@ void CExport::ExportTile3d(CCore *Core,CElem &ThisTile,sExpTile &OutTile)
|
|||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
void CExport::ExportElem3d(CCore *Core,CElem &ThisTile,int &TriStart,int &TriCount)
|
||||
void CExport::ExportElem3d(CCore *Core,CElem &ThisElem,int &TriStart,int &TriCount)
|
||||
{
|
||||
CTexCache &TexCache=Core->GetTexCache();
|
||||
std::vector<sTriFace> &TileTriList=ThisTile.GetTriList();
|
||||
std::vector<sTriFace> &ElemTriList=ThisElem.GetTriList();
|
||||
|
||||
TriStart=TriList.size();
|
||||
TriCount=TileTriList.size();
|
||||
TriCount=ElemTriList.size();
|
||||
|
||||
for (int T=0; T<TriCount; T++)
|
||||
{
|
||||
sTriFace &InTri=TileTriList[T];
|
||||
sTriFace &InTri=ElemTriList[T];
|
||||
sExpTri OutTri;
|
||||
GString TexName=TexCache.GetTexFilename(InTri.Mat);
|
||||
OutTri.TexID=TexNames.Add(TexName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue