Skip to content

Port upstream earcut changes to C# (ece414e) — 2026-07-04 #21

Description

@github-actions

Upstream Sync Task

@Copilot please port the upstream changes listed below to C# and open a pull request.

New commits have been pushed to mapbox/earcut since the last sync.

Previous synced commit: f183d7a
New upstream commit: ece414e
Full diff: mapbox/earcut@f183d7a...ece414e

Upstream commits to port

  • ece414e Add MichaCo/Earcut C#/.NET port to README (#206)

What to port

Please port all upstream changes to C# and open a pull request. Follow the PORTING_GUIDE.md for language mapping conventions.

Key files to check in the upstream diff:

  • src/earcut.js → port any algorithm changes to src/Earcut/Earcut.cs
  • test/fixtures/*.json → copy any new/changed fixtures to test/Earcut.Tests/fixtures/
  • test/expected.json → update test/Earcut.Tests/expected.json to match

After porting:

  1. Run dotnet test and ensure all tests pass
  2. Update PORTING_GUIDE.md if new language patterns were introduced

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-syncAutomatically generated upstream sync issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions