We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ab7425 + 1838480 commit 8515a6eCopy full SHA for 8515a6e
src/box2dx/Box2D.NetStandard/Dynamics/Contacts/ContactSolver.cs
@@ -326,7 +326,7 @@ public void SolveVelocityConstraints()
326
// Solve normal constraints
327
if (c.PointCount == 1)
328
{
329
- ContactConstraintPoint ccp = c.Points[0];
+ ref ContactConstraintPoint ccp = ref c.Points[0];
330
331
// Relative velocity at contact
332
Vec2 dv = vB + Vec2.Cross(wB, ccp.RB) - vA - Vec2.Cross(wA, ccp.RA);
0 commit comments