Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 3.47 KB

CHANGELOG.md

File metadata and controls

64 lines (51 loc) · 3.47 KB

Change Log

All notable changes to this project will be documented in this file. Only versions published since 2022-01-01 are listed here. Please consult the Git history for older version information. See Conventional Commits for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

3.0.0 (2024-06-21)

🛑 Breaking changes

  • update/rewrite tessellate() & all tessellator impls (97f1f66)
  • BREAKING CHANGE: update tessellate() & all tessellator implementations
    • Tessellators now collect/append results to a Tessellation object, consisting of a single point array and an array of face vertex IDs
    • add tessellatedPoints() and indexedPoints() to produce face/point arrays from a result Tessellation
    • remove again edgeSplitWithThreshold() & triFanSplitWithThreshold(), to be replaced with a more general alternative approach
  • migrate types from @thi.ng/geom-api (72cff99)
  • BREAKING CHANGE: migrate/internalize types from @thi.ng/geom-api
    • add/migrate Tessellator, Tessellation
    • update imports
    • update deps
  • add/update tessellation types & handling (c0fb454)
  • BREAKING CHANGE: add ITessellation interface & impls, update tessellators & tessellate()
    • rename/expand Tessellation => ITessellation
    • add BasicTessellation class
    • add MeshTessellation class
    • update Tessellator signature/return type, now returning list of new faces only
    • update all existing tessellators
    • add tessellateWith()
    • rename tessellateQueue() => tessellateFaces()
    • update tessellate(), now only syntax sugar for tessellateWith()
  • update Tessellator signature (c2ec98b)
  • BREAKING CHANGE: update Tessellator signature, add array arg for collecting tessellated faces
    • update tessellateFaces() to avoid concatenating
    • update all tessellators

🚀 Features

  • add edgeSplitWithThreshold() tessellator (91480c7)
    • add docstrings
  • add triFanSplit/triFanSplitWithThreshold() tessellators (417123c)
    • add doc strings
  • initial integration of earCutComplex (307cb3d)
  • add triFanBoundary() tessellator (a8fc397)

♻️ Refactoring

  • update/simplify earCutComplex() internals, add docs (0b479eb)
  • enforce uniform naming convention of internal functions (56992b2)
  • minor updates earCutComplex() (a2d5ec4)

2.1.87 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)