Skip to content

Commit

Permalink
chore(release): version 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andywiecko committed Aug 28, 2024
1 parent f409bec commit bf12674
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 15 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

For online version see [Github Releases].

## [3.2.0] – 2024-08-28

### Added

- Support for additional types: `Vector2`, `int2`, and `fp2` (fixed-point in Q31.32 format). Note: `fp2` requires an optional dependency. Refer to the manual for more details.
- (Internal) Introduced `TrianglesComparer` to simplify triangle assertions in tests.
- `Args` is now blittable and can be used in Burst-compiled static methods.
- Enhanced validation logs to include position information.

### Changed

- (Internal) Various simplifications, minor performance improvements, refactoring, and additional code comments.

### Deprecated

- `AsNativeArray()` and `ManagedInput` have been deprecated for safety reasons. Use `AsNativeArray(out Handle handle)` instead. Refer to the manual for more information.

### Fixed

- Corrected the refinement of concentric shells segment splitting factor alpha.
- Fixed safety issues with `AsNativeArray`.
- Fully collinear input is now handled correctly.

## [3.1.0] – 2024-08-01

### Added
Expand Down Expand Up @@ -210,6 +233,7 @@ options in the triangulation settings, aka `RestoreBoundary`.

[Github Releases]: https://github.com/andywiecko/BurstTriangulator/releases

[3.2.0]: https://github.com/andywiecko/BurstTriangulator/releases/tag/v3.2.0
[3.1.0]: https://github.com/andywiecko/BurstTriangulator/releases/tag/v3.1.0
[3.0.0]: https://github.com/andywiecko/BurstTriangulator/releases/tag/v3.0.0
[2.5.0]: https://github.com/andywiecko/BurstTriangulator/releases/tag/v2.5.0
Expand Down
2 changes: 1 addition & 1 deletion Documentation~/manual/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Then, in the dependencies section, provide the desired version of the package:

```json
"dependencies": {
"com.andywiecko.burst.triangulator": "3.1.0",
"com.andywiecko.burst.triangulator": "3.2.0",
...
```

Expand Down
2 changes: 1 addition & 1 deletion Documentation~/override/partials/breadcrumb.tmpl.partial
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<div class="container" style="
width: 80px;
line-height: 40px;
"><b>v3.1.0</b></div>
"><b>v3.2.0</b></div>
</div>
</div>
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ A single-file package which provides Delaunay triangulation of the given set of

## ✨ Supported Features

- **Delaunay triangulation** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/examples/triangulation.html)
- **Constrained triangulation** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/examples/constrained-triangulation.html)
- **Mesh refinement** (angle and area parameters) [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/examples/mesh-refinement.html)
- **Holes and restoring boundary** (manual and auto) [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/examples/holes-and-boundaries.html)
- **Support for `Unity.Jobs` pipeline** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/input-jobs.html)
- **Input preprocessors** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/preprocessor.html)
- **Input validation** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/input-validation.html)
- **Generic coordinates** (`float2`, `double2`) [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/generic-coordinates.html)
- **Native support** (low level API) [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/unsafe-triangulator.html)
- **Managed input support** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/input-managed.html)
- **Delaunay triangulation** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/examples/triangulation.html)
- **Constrained triangulation** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/examples/constrained-triangulation.html)
- **Mesh refinement** (angle and area parameters) [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/examples/mesh-refinement.html)
- **Holes and restoring boundary** (manual and auto) [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/examples/holes-and-boundaries.html)
- **Support for `Unity.Jobs` pipeline** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/input-jobs.html)
- **Input preprocessors** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/preprocessor.html)
- **Input validation** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/input-validation.html)
- **Generic coordinates** (`float2`, `double2`, `Vector2`, `int2`, and fixed-point `Q31.32`) [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/generic-coordinates.html)
- **Native support** (low level API) [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/unsafe-triangulator.html)
- **Managed input support** [ᵈᵒᶜˢ](https://andywiecko.github.io/BurstTriangulator/manual/advanced/input-managed.html)

To view the documentation for the manual and scripting API access it online [**here**][manual] or navigate to `Documentation~/` and build this using `docfx.json`.

Expand Down Expand Up @@ -56,8 +56,8 @@ and to triangulate unit box $[(0, 0), (1, 0), (1, 1), (0, 1)]$:

```csharp
using var positions = new NativeArray<double2>(new[]
{
new(0, 0), new(1, 0), new(1, 1), new(0, 1)
{
new(0, 0), new(1, 0), new(1, 1), new(0, 1)
}, Allocator.Persistent);
using var triangulator = new Triangulator(Allocator.Persistent)
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.andywiecko.burst.triangulator",
"version": "3.1.0",
"version": "3.2.0",
"displayName": "Burst Triangulator",
"description": "A single-file package which provides Delaunay triangulation of the given set of points with constraints and mesh refinement.",
"unity": "2022.2",
Expand Down

0 comments on commit bf12674

Please sign in to comment.