Skip to content

Improves convex_decomposition and convex_hull methods#944

Open
FredMarquer wants to merge 2 commits intoavianphysics:mainfrom
FredMarquer:convex-decomposition-borrow-parameters
Open

Improves convex_decomposition and convex_hull methods#944
FredMarquer wants to merge 2 commits intoavianphysics:mainfrom
FredMarquer:convex-decomposition-borrow-parameters

Conversation

@FredMarquer
Copy link

@FredMarquer FredMarquer commented Feb 12, 2026

Objective

Don't take ownership of the vertices and indices in the convex_decomposition and convex_hull methods as it is not necessary.

Solution

Replace the Vec<_> parameters with &[_].

Testing

I have tested the branch on my personal project (which only use convex_decomposition_with_config).

FredMarquer added 2 commits February 12, 2026 22:20
# Objective

Don't take ownership of the vertices and indices in the `convex_decomposition` and `convex_hull` methods.

## Solution

Replace the `Vec<_>` parameters with `&[_]`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant