Lines Matching refs:subTriangleNdx
611 for (int subTriangleNdx = 0; subTriangleNdx < (int)subTriangles.size(); ++subTriangleNdx) in clipPrimitives() local
616 clipTriangleToPlane(convexPrimitive, subTriangles[subTriangleNdx].vertices, *planes[planeNdx]); in clipPrimitives()
655 for (int subTriangleNdx = 0; subTriangleNdx < (int)subTriangles.size(); ++subTriangleNdx) in clipPrimitives() local
662 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()
679 + (float)subTriangles[subTriangleNdx].vertices[1].weight[1] * out1 in clipPrimitives()
680 + (float)subTriangles[subTriangleNdx].vertices[1].weight[2] * out2; in clipPrimitives()
682 p2->outputs[outputNdx] = (float)subTriangles[subTriangleNdx].vertices[2].weight[0] * out0 in clipPrimitives()
683 + (float)subTriangles[subTriangleNdx].vertices[2].weight[1] * out1 in clipPrimitives()
684 + (float)subTriangles[subTriangleNdx].vertices[2].weight[2] * out2; in clipPrimitives()