mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
fx
This commit is contained in:
parent
d029bbacc7
commit
9f6922221d
1 changed files with 2 additions and 2 deletions
|
@ -264,8 +264,8 @@ void IndexGenerator::TranslateFan(int numInds, const ITypeLE *inds, int indexOff
|
|||
const int v2 = clockwise ? 2 : 1;
|
||||
for (int i = 0; i < numTris; i++) {
|
||||
*outInds++ = indexOffset + inds[0];
|
||||
*outInds++ = indexOffset + inds[i + 1];
|
||||
*outInds++ = indexOffset + inds[i + 2];
|
||||
*outInds++ = indexOffset + inds[i + v1];
|
||||
*outInds++ = indexOffset + inds[i + v2];
|
||||
}
|
||||
inds_ = outInds;
|
||||
count_ += numTris * 3;
|
||||
|
|
Loading…
Add table
Reference in a new issue