Skip to content

Commit 6075286

Browse files
committed
wip
1 parent 16d84f9 commit 6075286

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Box2D.NET/B2Contacts.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ internal static B2Manifold b2PolygonAndCapsuleManifold(B2Shape shapeA, in B2Tran
7474
internal static B2Manifold b2PolygonManifold(B2Shape shapeA, in B2Transform xfA, B2Shape shapeB, in B2Transform xfB, ref B2SimplexCache cache)
7575
{
7676
B2_UNUSED(cache);
77-
return b2CollidePolygons(shapeA.us.polygon, xfA, in shapeB.us.polygon, xfB);
77+
return b2CollidePolygons(shapeA.us.polygon, xfA, shapeB.us.polygon, xfB);
7878
}
7979

8080
internal static B2Manifold b2SegmentAndCircleManifold(B2Shape shapeA, in B2Transform xfA, B2Shape shapeB, in B2Transform xfB, ref B2SimplexCache cache)
@@ -92,7 +92,7 @@ internal static B2Manifold b2SegmentAndCapsuleManifold(B2Shape shapeA, in B2Tran
9292
internal static B2Manifold b2SegmentAndPolygonManifold(B2Shape shapeA, in B2Transform xfA, B2Shape shapeB, in B2Transform xfB, ref B2SimplexCache cache)
9393
{
9494
B2_UNUSED(cache);
95-
return b2CollideSegmentAndPolygon(shapeA.us.segment, xfA, in shapeB.us.polygon, xfB);
95+
return b2CollideSegmentAndPolygon(shapeA.us.segment, xfA, shapeB.us.polygon, xfB);
9696
}
9797

9898
internal static B2Manifold b2ChainSegmentAndCircleManifold(B2Shape shapeA, in B2Transform xfA, B2Shape shapeB, in B2Transform xfB, ref B2SimplexCache cache)
@@ -108,7 +108,7 @@ internal static B2Manifold b2ChainSegmentAndCapsuleManifold(B2Shape shapeA, in B
108108

109109
internal static B2Manifold b2ChainSegmentAndPolygonManifold(B2Shape shapeA, in B2Transform xfA, B2Shape shapeB, in B2Transform xfB, ref B2SimplexCache cache)
110110
{
111-
return b2CollideChainSegmentAndPolygon(shapeA.us.chainSegment, xfA, in shapeB.us.polygon, xfB, ref cache);
111+
return b2CollideChainSegmentAndPolygon(shapeA.us.chainSegment, xfA, shapeB.us.polygon, xfB, ref cache);
112112
}
113113

114114
internal static void b2AddType(b2ManifoldFcn fcn, B2ShapeType type1, B2ShapeType type2)

src/Box2D.NET/B2Manifolds.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ public static B2Manifold b2CollideSegmentAndCircle(in B2Segment segmentA, in B2T
10911091
public static B2Manifold b2CollideSegmentAndPolygon(in B2Segment segmentA, in B2Transform xfA, in B2Polygon polygonB, in B2Transform xfB)
10921092
{
10931093
B2Polygon polygonA = b2MakeCapsule(segmentA.point1, segmentA.point2, 0.0f);
1094-
return b2CollidePolygons(in polygonA, xfA, in polygonB, xfB);
1094+
return b2CollidePolygons(in polygonA, xfA, polygonB, xfB);
10951095
}
10961096

10971097
/// Compute the contact manifold between a chain segment and a circle

0 commit comments

Comments
 (0)