diff --git a/src/Jitter2/Collision/NarrowPhase/MinkowskiDifference.cs b/src/Jitter2/Collision/NarrowPhase/MinkowskiDifference.cs index b3d52b6b..aff02e49 100644 --- a/src/Jitter2/Collision/NarrowPhase/MinkowskiDifference.cs +++ b/src/Jitter2/Collision/NarrowPhase/MinkowskiDifference.cs @@ -44,10 +44,6 @@ public struct Vertex public Vertex(JVector v) { -#if NET6_0 - A = new JVector(); - B = new JVector(); -#endif V = v; } } diff --git a/src/Jitter2/Collision/PairHashSet.cs b/src/Jitter2/Collision/PairHashSet.cs index 352612c3..44f8d530 100644 --- a/src/Jitter2/Collision/PairHashSet.cs +++ b/src/Jitter2/Collision/PairHashSet.cs @@ -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); diff --git a/src/Jitter2/Collision/Shapes/TriangleMesh.cs b/src/Jitter2/Collision/Shapes/TriangleMesh.cs index 733de4ec..596c811b 100644 --- a/src/Jitter2/Collision/Shapes/TriangleMesh.cs +++ b/src/Jitter2/Collision/Shapes/TriangleMesh.cs @@ -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;