This commit is contained in:
parent
0fca1467ae
commit
bc7415551c
1 changed files with 7 additions and 2 deletions
|
@ -871,9 +871,14 @@ sTri *TList=&ModelTriList[Elem->TriStart];
|
||||||
*(u16*)&TPrimPtr->u2=T2; // Set UV2
|
*(u16*)&TPrimPtr->u2=T2; // Set UV2
|
||||||
ThisOT=OtPtr+TList->OTOfs;
|
ThisOT=OtPtr+TList->OTOfs;
|
||||||
TList++;
|
TList++;
|
||||||
addPrim(ThisOT,TPrimPtr);
|
gte_nclip_b();
|
||||||
gte_stsxy3_ft3(TPrimPtr);
|
gte_stsxy3_ft3(TPrimPtr);
|
||||||
TPrimPtr++;
|
gte_stopz(&ClipZ);
|
||||||
|
if (ClipZ<=0)
|
||||||
|
{
|
||||||
|
addPrim(ThisOT,TPrimPtr);
|
||||||
|
TPrimPtr++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SetPrimPtr((u8*)TPrimPtr);
|
SetPrimPtr((u8*)TPrimPtr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue