Skip to content

Commit

Permalink
Add clone_scaled to Shape traits (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo-Zhixing authored Jul 20, 2024
1 parent d227066 commit 5479a8d
Show file tree
Hide file tree
Showing 3 changed files with 223 additions and 26 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
normal for thin triangles that generally cause numerical instabilities.
- Add `Triangle::angle_closest_to_90` to find the triangle’s vertex with an angle closest to 90 degree.
- Add the `wavefront` feature that enables `TriMesh::to_obj_file` for exporting a mesh as an obj file.
- Add `Shape::scale_dyn` for scaling a shape as a trait-object.

### Modified

Expand All @@ -17,6 +18,8 @@
so that an indirection is removed in documentation:
previous occurrences of `Real` now show `f32` or `f64`.
- Significantly improved the general stability of mesh/mesh intersection calculation.
- Rename `Shape::clone_box` to `Shape::clone_dyn` (the `clone_box` method still exists but has been
deprecated).

## v0.16.1

Expand Down
Loading

0 comments on commit 5479a8d

Please sign in to comment.