Searched refs:subTriangleNdx (Results 1 – 1 of 1) sorted by relevance
611 for (int subTriangleNdx = 0; subTriangleNdx < (int)subTriangles.size(); ++subTriangleNdx) in clipPrimitives() local616 clipTriangleToPlane(convexPrimitive, subTriangles[subTriangleNdx].vertices, *planes[planeNdx]); in clipPrimitives()655 for (int subTriangleNdx = 0; subTriangleNdx < (int)subTriangles.size(); ++subTriangleNdx) in clipPrimitives() local662 p0->position = clipVec4ToVec4(subTriangles[subTriangleNdx].vertices[0].position); in clipPrimitives()663 p1->position = clipVec4ToVec4(subTriangles[subTriangleNdx].vertices[1].position); in clipPrimitives()664 p2->position = clipVec4ToVec4(subTriangles[subTriangleNdx].vertices[2].position); in clipPrimitives()674 p0->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[0].weight[0] * out0 in clipPrimitives()675 + (float)subTriangles[subTriangleNdx].vertices[0].weight[1] * out1 in clipPrimitives()676 + (float)subTriangles[subTriangleNdx].vertices[0].weight[2] * out2; in clipPrimitives()678 p1->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[1].weight[0] * out0 in clipPrimitives()[all …]