Skip to content

Commit

Permalink
Remove #if NET6_0
Browse files Browse the repository at this point in the history
  • Loading branch information
notgiven688 committed Dec 6, 2024
1 parent 046e419 commit 9af8e42
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/Jitter2/Collision/NarrowPhase/MinkowskiDifference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ public struct Vertex

public Vertex(JVector v)
{
#if NET6_0
A = new JVector();
B = new JVector();
#endif
V = v;
}
}
Expand Down
3 changes: 0 additions & 3 deletions src/Jitter2/Collision/PairHashSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ public readonly struct Pair

public Pair(int id1, int id2)
{
#if NET6_0
ID = 0;
#endif
if (id1 < id2)
{
(ID1, ID2) = (id1, id2);
Expand Down
4 changes: 0 additions & 4 deletions src/Jitter2/Collision/Shapes/TriangleMesh.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ public struct Triangle

public Triangle(int a, int b, int c)
{
#if NET6_0
Normal = new JVector();
#endif

IndexA = a;
IndexB = b;
IndexC = c;
Expand Down

0 comments on commit 9af8e42

Please sign in to comment.