Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Dec 3, 2024
1 parent ce3847c commit ed91a9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/plugin/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,10 @@ where
.register_type::<ContactSkin>()
.register_type::<Group>()
.register_type::<RapierContextEntityLink>()
.register_type::<ColliderDebugColor>()
.register_type::<RapierConfiguration>()
.register_type::<SimulationToRenderTime>()
.register_type::<DefaultRapierContext>()
.register_type::<RapierContextInitialization>()
.register_type::<ColliderDebugColor>();
.register_type::<RapierContextInitialization>();

app.insert_resource(Events::<CollisionEvent>::default())
.insert_resource(Events::<ContactForceEvent>::default())
Expand Down
1 change: 1 addition & 0 deletions src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ impl Plugin for RapierDebugRenderPlugin {
fn build(&self, app: &mut App) {
app.register_type::<DebugRenderContext>();
app.register_type::<ColliderDebug>();
app.register_type::<ColliderDebugColor>();

app.insert_resource(DebugRenderContext {
enabled: self.enabled,
Expand Down

0 comments on commit ed91a9e

Please sign in to comment.