Permalink
Browse files

fx

  • Loading branch information...
weihuoya committed Jun 3, 2018
1 parent d029bba commit 9f6922221d1c9773ec6b6f23d8e007f968e8a4b7
Showing with 2 additions and 2 deletions.
  1. +2 −2 GPU/Common/IndexGenerator.cpp
@@ -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;

0 comments on commit 9f69222

Please sign in to comment.