@@ -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