"fix" broken tess test When using the earcut triangulatation we pass through the vertex buffer straight from raw path and just use an index buffer generating by the triangulation. Diffs= ba0406a89 Fix tess test.
diff --git a/.rive_head b/.rive_head index d62a776..e9e0eac 100644 --- a/.rive_head +++ b/.rive_head
@@ -1 +1 @@ -a7615ab7c04c0112b50d3b8d2200de3feff8d4c5 +ba0406a89050a0bd7833bcbf8805daca711de625
diff --git a/tess/test/triangulation_test.cpp b/tess/test/triangulation_test.cpp index 8f8e496..756745b 100644 --- a/tess/test/triangulation_test.cpp +++ b/tess/test/triangulation_test.cpp
@@ -32,9 +32,9 @@ TestRenderPath shapeRenderPath; shapeRenderPath.addRenderPath(&renderPath, identity); shapeRenderPath.triangulate(); - REQUIRE(shapeRenderPath.vertices.size() == 3); + REQUIRE(shapeRenderPath.vertices.size() == 4); REQUIRE(shapeRenderPath.indices.size() == 3); - REQUIRE(shapeRenderPath.indices[0] == 0); - REQUIRE(shapeRenderPath.indices[1] == 1); - REQUIRE(shapeRenderPath.indices[2] == 2); + REQUIRE(shapeRenderPath.indices[0] == 2); + REQUIRE(shapeRenderPath.indices[1] == 0); + REQUIRE(shapeRenderPath.indices[2] == 1); } \ No newline at end of file