• Home
  • Raw
  • Download

Lines Matching refs:index

11     int index = state->fCurrIndex;  in Triangles()  local
12 if (index + 3 > state->fCount) { in Triangles()
15 state->f0 = index + 0; in Triangles()
16 state->f1 = index + 1; in Triangles()
17 state->f2 = index + 2; in Triangles()
18 state->fCurrIndex = index + 3; in Triangles()
24 int index = state->fCurrIndex; in TrianglesX() local
25 if (index + 3 > state->fCount) { in TrianglesX()
28 state->f0 = indices[index + 0]; in TrianglesX()
29 state->f1 = indices[index + 1]; in TrianglesX()
30 state->f2 = indices[index + 2]; in TrianglesX()
31 state->fCurrIndex = index + 3; in TrianglesX()
36 int index = state->fCurrIndex; in TriangleStrip() local
37 if (index + 3 > state->fCount) { in TriangleStrip()
40 state->f2 = index + 2; in TriangleStrip()
41 if (index & 1) { in TriangleStrip()
42 state->f0 = index + 1; in TriangleStrip()
43 state->f1 = index + 0; in TriangleStrip()
45 state->f0 = index + 0; in TriangleStrip()
46 state->f1 = index + 1; in TriangleStrip()
48 state->fCurrIndex = index + 1; in TriangleStrip()
54 int index = state->fCurrIndex; in TriangleStripX() local
55 if (index + 3 > state->fCount) { in TriangleStripX()
58 state->f2 = indices[index + 2]; in TriangleStripX()
59 if (index & 1) { in TriangleStripX()
60 state->f0 = indices[index + 1]; in TriangleStripX()
61 state->f1 = indices[index + 0]; in TriangleStripX()
63 state->f0 = indices[index + 0]; in TriangleStripX()
64 state->f1 = indices[index + 1]; in TriangleStripX()
66 state->fCurrIndex = index + 1; in TriangleStripX()
71 int index = state->fCurrIndex; in TriangleFan() local
72 if (index + 3 > state->fCount) { in TriangleFan()
76 state->f1 = index + 1; in TriangleFan()
77 state->f2 = index + 2; in TriangleFan()
78 state->fCurrIndex = index + 1; in TriangleFan()
84 int index = state->fCurrIndex; in TriangleFanX() local
85 if (index + 3 > state->fCount) { in TriangleFanX()
89 state->f1 = indices[index + 1]; in TriangleFanX()
90 state->f2 = indices[index + 2]; in TriangleFanX()
91 state->fCurrIndex = index + 1; in TriangleFanX()