From e084b104ca766cf651bf00052742087056001089 Mon Sep 17 00:00:00 2001 From: Thomas Vantroyen Date: Tue, 22 Feb 2022 11:13:09 +0100 Subject: [PATCH] ContactEdge: changed fields from private to public body.GetContactList() was useless, because all fields in returned data are private. In original C++ they are implicitly public because ContactEdge is a struct. --- .../Box2D.NetStandard/Dynamics/Contacts/ContactEdge.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/box2dx/Box2D.NetStandard/Dynamics/Contacts/ContactEdge.cs b/src/box2dx/Box2D.NetStandard/Dynamics/Contacts/ContactEdge.cs index 563f173..f1bab88 100644 --- a/src/box2dx/Box2D.NetStandard/Dynamics/Contacts/ContactEdge.cs +++ b/src/box2dx/Box2D.NetStandard/Dynamics/Contacts/ContactEdge.cs @@ -41,21 +41,21 @@ public class ContactEdge /// /// The contact. /// - internal Contact contact; + public Contact contact; /// /// The next contact edge in the body's contact list. /// - internal ContactEdge next; + public ContactEdge next; /// /// Provides quick access to the other body attached. /// - internal Body other; + public Body other; /// /// The previous contact edge in the body's contact list. /// - internal ContactEdge prev; + public ContactEdge prev; } } \ No newline at end of file