Make MeshConverter enum derive Copy (#821)

This commit is contained in:
Bruce Mitchener
2025-04-11 21:45:21 +07:00
committed by GitHub
parent ed7e6393b8
commit 1c67c5e7f2
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
## Unreleased
### Added
- `MeshConverter` now implements `Copy`.
## v0.24.0 (10 April 2025)
### Added

View File

@@ -23,8 +23,7 @@ pub enum MeshConverterError {
}
/// Determines how meshes (generally when loaded from a file) are converted into Rapier colliders.
// TODO: implement Copy once we add a Copy implementation for VHACDParameters.
#[derive(Clone, Debug, PartialEq, Default)]
#[derive(Clone, Copy, Debug, PartialEq, Default)]
pub enum MeshConverter {
/// The mesh is loaded as-is without any particular processing.
#[default]