Skip to content

Updates Dimforge dependencies and API usage#20

Open
JulianRuiseco wants to merge 2 commits into
mainfrom
DimforgeBumps
Open

Updates Dimforge dependencies and API usage#20
JulianRuiseco wants to merge 2 commits into
mainfrom
DimforgeBumps

Conversation

@JulianRuiseco
Copy link
Copy Markdown

Bumps nalgebra to 0.34, nalgebra-sparse to 0.11, and parry3d-f64 to 0.26.

This update includes significant changes to adapt to the new API of parry and nalgebra:

  • Migrates from parry::partitioning::Qbvh to parry::partitioning::Bvh,
  • uses nalgebra's new convert-glam030 feature and built-in converters for more explicit and streamlined conversions between nalgebra and parry geometric types.
  • Adapts to various API changes, such as extents().max_element() and the new intersect_aabb iterator pattern.
  • Incorporates minor Rust syntax modernizations like or_default() for HashMap entries.

- Migrate from `Qbvh` to `Bvh` for spatial partitioning in `PoissonLayer`.
- Implement coordinate conversion helpers between `nalgebra` and `parry` types.
- Update `Aabb` and `TriMesh` usage to match new `parry` APIs.
@fslabs-bot
Copy link
Copy Markdown

fslabs-bot Bot commented Mar 15, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fslabs-bot fslabs-bot Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 15, 2026
@sebcrozet
Copy link
Copy Markdown
Contributor

This PR doesn’t look very good. It’s switching to glam in only a few places and converts to nalgebra everywhere else. A proper migration should switch to glam everywhere other than when we need higher-dimensional features.

@JulianRuiseco
Copy link
Copy Markdown
Author

@sebcrozet Yeah. Agree. It was a dead minimum change to get stuff compiling. Happy to drop it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants