Skip to content

Commit

Permalink
ContactEdge: changed fields from private to public
Browse files Browse the repository at this point in the history
body.GetContactList() was useless, because all fields in returned data are private. In original C++ they are implicitly public because ContactEdge is a struct.
  • Loading branch information
thomasvt authored and codingben committed Feb 22, 2022
1 parent 3fe6347 commit e084b10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/box2dx/Box2D.NetStandard/Dynamics/Contacts/ContactEdge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@ public class ContactEdge
/// <summary>
/// The contact.
/// </summary>
internal Contact contact;
public Contact contact;

/// <summary>
/// The next contact edge in the body's contact list.
/// </summary>
internal ContactEdge next;
public ContactEdge next;

/// <summary>
/// Provides quick access to the other body attached.
/// </summary>
internal Body other;
public Body other;

/// <summary>
/// The previous contact edge in the body's contact list.
/// </summary>
internal ContactEdge prev;
public ContactEdge prev;
}
}

0 comments on commit e084b10

Please sign in to comment.