Skip to content

Commit

Permalink
Update verts direction for csm export
Browse files Browse the repository at this point in the history
  • Loading branch information
UnrealKaraulov committed Mar 22, 2024
1 parent 765ed55 commit 5eb4bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bsp/Bsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9834,9 +9834,9 @@ void Bsp::ExportToObjWIP(const std::string& path, int iscale, bool lightmapmode,
tmpFace.edgeFlags = 0;
tmpFace.lmGroup = csm_groups;
tmpFace.matIdx = (unsigned short)(materialid);
tmpFace.vertIdx[0] = startvert;
tmpFace.vertIdx[2] = startvert;
tmpFace.vertIdx[1] = startvert + 1;
tmpFace.vertIdx[2] = startvert + 2;
tmpFace.vertIdx[0] = startvert + 2;

csm_export->faces.push_back(tmpFace);

Expand Down

0 comments on commit 5eb4bdd

Please sign in to comment.