Skip to content

Commit f138685

Browse files
committed
removed version tag, changed line constructor param order
1 parent 173f7d0 commit f138685

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/Exomia.Framework/Exomia.Framework.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
</PropertyGroup>
1313

1414
<PropertyGroup>
15-
<Version>1.4.1</Version>
1615
<Company>exomia</Company>
1716
<Authors>exomia;saika01</Authors>
1817
<Description>a framework for building 2D and 3D games and more inspired by the XNA/Mono framework</Description>

src/Exomia.Framework/Mathematics/Line2.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ namespace Exomia.Framework.Mathematics
4747
/// Initializes a new instance of the <see cref="Line2" /> struct.
4848
/// </summary>
4949
/// <param name="x1"> The first x value. </param>
50-
/// <param name="x2"> The second x value. </param>
5150
/// <param name="y1"> The first y value. </param>
51+
/// <param name="x2"> The second x value. </param>
5252
/// <param name="y2"> The second y value. </param>
53-
public Line2(float x1, float x2, float y1, float y2)
53+
public Line2(float x1, float y1, float x2, float y2)
5454
{
5555
X1 = x1;
56-
X2 = x2;
5756
Y1 = y1;
57+
X2 = x2;
5858
Y2 = y2;
5959
}
6060

@@ -64,15 +64,15 @@ public Line2(float x1, float x2, float y1, float y2)
6464
/// <param name="a"> The VectorI2 to process. </param>
6565
/// <param name="b"> The VectorI2 to process. </param>
6666
public Line2(VectorI2 a, VectorI2 b)
67-
: this(a.X, b.X, a.Y, b.Y) { }
67+
: this(a.X, a.Y, b.X, b.Y) { }
6868

6969
/// <summary>
7070
/// Initializes a new instance of the <see cref="Line2" /> struct.
7171
/// </summary>
7272
/// <param name="a"> The Vector2 to process. </param>
7373
/// <param name="b"> The Vector2 to process. </param>
7474
public Line2(Vector2 a, Vector2 b)
75-
: this(a.X, b.X, a.Y, b.Y) { }
75+
: this(a.X, a.Y, b.X, b.Y) { }
7676

7777
/// <summary>
7878
/// Determines whether the specified <see cref="Line2" /> is equal to this instance.
@@ -87,8 +87,8 @@ public bool Equals(in Line2 other)
8787
// ReSharper disable CompareOfFloatsByEqualityOperator
8888
return
8989
X1 == other.X1 &&
90-
X2 == other.X2 &&
9190
Y1 == other.Y1 &&
91+
X2 == other.X2 &&
9292
Y2 == other.Y2;
9393

9494
// ReSharper restore CompareOfFloatsByEqualityOperator

0 commit comments

Comments
 (0)