Skip to content

Commit

Permalink
Add custom-debug-render feature
Browse files Browse the repository at this point in the history
Provide features to enable `rapier/debug-render` when implementing custom debug render
  • Loading branch information
jeyum2 committed Sep 2, 2024
1 parent 030dc61 commit 0ed1cdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bevy_rapier2d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ debug-render-3d = [
"rapier2d/debug-render",
"bevy/bevy_asset",
]
custom-debug-render = ["rapier2d/debug-render"]

parallel = ["rapier2d/parallel"]
simd-stable = ["rapier2d/simd-stable"]
simd-nightly = ["rapier2d/simd-nightly"]
Expand Down
2 changes: 2 additions & 0 deletions bevy_rapier3d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ debug-render-3d = [
"rapier3d/debug-render",
"bevy/bevy_asset",
]
custom-debug-render = ["rapier3d/debug-render"]

parallel = ["rapier3d/parallel"]
simd-stable = ["rapier3d/simd-stable"]
simd-nightly = ["rapier3d/simd-nightly"]
Expand Down

0 comments on commit 0ed1cdd

Please sign in to comment.