From f108520b5a110cf59864abac7ac6a37e2b5a1dd9 Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Wed, 20 Apr 2022 12:29:57 +0200 Subject: Finalize refactoring --- examples3d/one_way_platforms3.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'examples3d') diff --git a/examples3d/one_way_platforms3.rs b/examples3d/one_way_platforms3.rs index 6f214b5..3b2715a 100644 --- a/examples3d/one_way_platforms3.rs +++ b/examples3d/one_way_platforms3.rs @@ -6,11 +6,8 @@ struct OneWayPlatformHook { platform2: ColliderHandle, } -impl PhysicsHooks for OneWayPlatformHook { - fn modify_solver_contacts( - &self, - context: &mut ContactModificationContext, - ) { +impl PhysicsHooks for OneWayPlatformHook { + fn modify_solver_contacts(&self, context: &mut ContactModificationContext) { // The allowed normal for the first platform is its local +y axis, and the // allowed normal for the second platform is its local -y axis. // -- cgit