Searched refs:subTriangles (Results 1 – 1 of 1) sorted by relevance
585 std::vector<SubTriangle> subTriangles (1); in clipPrimitives() local586 SubTriangle& initialTri = subTriangles[0]; in clipPrimitives()611 for (int subTriangleNdx = 0; subTriangleNdx < (int)subTriangles.size(); ++subTriangleNdx) in clipPrimitives()616 clipTriangleToPlane(convexPrimitive, subTriangles[subTriangleNdx].vertices, *planes[planeNdx]); in clipPrimitives()651 subTriangles.swap(nextPhaseSubTriangles); in clipPrimitives()655 for (int subTriangleNdx = 0; subTriangleNdx < (int)subTriangles.size(); ++subTriangleNdx) in clipPrimitives()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()[all …]