diff --git a/src/Exomia.Framework/Exomia.Framework.csproj b/src/Exomia.Framework/Exomia.Framework.csproj index 619fb0d8..24acde4f 100644 --- a/src/Exomia.Framework/Exomia.Framework.csproj +++ b/src/Exomia.Framework/Exomia.Framework.csproj @@ -12,7 +12,6 @@ - 1.4.1 exomia exomia;saika01 a framework for building 2D and 3D games and more inspired by the XNA/Mono framework diff --git a/src/Exomia.Framework/Mathematics/Line2.cs b/src/Exomia.Framework/Mathematics/Line2.cs index 5d22115a..36a2425f 100644 --- a/src/Exomia.Framework/Mathematics/Line2.cs +++ b/src/Exomia.Framework/Mathematics/Line2.cs @@ -47,14 +47,14 @@ namespace Exomia.Framework.Mathematics /// Initializes a new instance of the struct. /// /// The first x value. - /// The second x value. /// The first y value. + /// The second x value. /// The second y value. - public Line2(float x1, float x2, float y1, float y2) + public Line2(float x1, float y1, float x2, float y2) { X1 = x1; - X2 = x2; Y1 = y1; + X2 = x2; Y2 = y2; } @@ -64,7 +64,7 @@ public Line2(float x1, float x2, float y1, float y2) /// The VectorI2 to process. /// The VectorI2 to process. public Line2(VectorI2 a, VectorI2 b) - : this(a.X, b.X, a.Y, b.Y) { } + : this(a.X, a.Y, b.X, b.Y) { } /// /// Initializes a new instance of the struct. @@ -72,7 +72,7 @@ public Line2(VectorI2 a, VectorI2 b) /// The Vector2 to process. /// The Vector2 to process. public Line2(Vector2 a, Vector2 b) - : this(a.X, b.X, a.Y, b.Y) { } + : this(a.X, a.Y, b.X, b.Y) { } /// /// Determines whether the specified is equal to this instance. @@ -87,8 +87,8 @@ public bool Equals(in Line2 other) // ReSharper disable CompareOfFloatsByEqualityOperator return X1 == other.X1 && - X2 == other.X2 && Y1 == other.Y1 && + X2 == other.X2 && Y2 == other.Y2; // ReSharper restore CompareOfFloatsByEqualityOperator