This commit is contained in:
parent
771b345fb0
commit
2ce258c899
1 changed files with 2 additions and 1 deletions
|
@ -636,7 +636,7 @@ CFaceStore &ThisList=ThisElem.FaceStore;
|
||||||
}
|
}
|
||||||
|
|
||||||
//***************************************************************************
|
//***************************************************************************
|
||||||
int OTMin=0;
|
int OTMin=1 ;
|
||||||
int OTMax=15-1;
|
int OTMax=15-1;
|
||||||
|
|
||||||
void CMkLevel::CalcOtOfs(vector<sTri> &PList,vector<sVtx> &VtxList,int Start,int Count)
|
void CMkLevel::CalcOtOfs(vector<sTri> &PList,vector<sVtx> &VtxList,int Start,int Count)
|
||||||
|
@ -664,6 +664,7 @@ int PntCount=3;
|
||||||
OtOfs/=8;
|
OtOfs/=8;
|
||||||
// printf("%i\n",P.OTOfs);
|
// printf("%i\n",P.OTOfs);
|
||||||
OtOfs+=P.OTOfs;
|
OtOfs+=P.OTOfs;
|
||||||
|
// OtOfs++; // Allow for GUI
|
||||||
|
|
||||||
if (OtOfs>OTMax) OtOfs=OTMax;
|
if (OtOfs>OTMax) OtOfs=OTMax;
|
||||||
if (OtOfs<OTMin) OtOfs=OTMin;
|
if (OtOfs<OTMin) OtOfs=OTMin;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue