Lines Matching refs:subTriangleNdx
615 for (int subTriangleNdx = 0; subTriangleNdx < (int)subTriangles.size(); ++subTriangleNdx) in clipPrimitives() local
620 clipTriangleToPlane(convexPrimitive, subTriangles[subTriangleNdx].vertices, *planes[planeNdx]); in clipPrimitives()
659 for (int subTriangleNdx = 0; subTriangleNdx < (int)subTriangles.size(); ++subTriangleNdx) in clipPrimitives() local
666 p0->position = clipVec4ToVec4(subTriangles[subTriangleNdx].vertices[0].position); in clipPrimitives()
667 p1->position = clipVec4ToVec4(subTriangles[subTriangleNdx].vertices[1].position); in clipPrimitives()
668 p2->position = clipVec4ToVec4(subTriangles[subTriangleNdx].vertices[2].position); in clipPrimitives()
678 p0->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[0].weight[0] * out0 in clipPrimitives()
679 + (float)subTriangles[subTriangleNdx].vertices[0].weight[1] * out1 in clipPrimitives()
680 + (float)subTriangles[subTriangleNdx].vertices[0].weight[2] * out2; in clipPrimitives()
682 p1->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[1].weight[0] * out0 in clipPrimitives()
683 + (float)subTriangles[subTriangleNdx].vertices[1].weight[1] * out1 in clipPrimitives()
684 + (float)subTriangles[subTriangleNdx].vertices[1].weight[2] * out2; in clipPrimitives()
686 p2->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[2].weight[0] * out0 in clipPrimitives()
687 + (float)subTriangles[subTriangleNdx].vertices[2].weight[1] * out1 in clipPrimitives()
688 + (float)subTriangles[subTriangleNdx].vertices[2].weight[2] * out2; in clipPrimitives()