File tree Expand file tree Collapse file tree
src/PolylineAlgorithm.Abstraction/Internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,16 +17,13 @@ namespace PolylineAlgorithm.Abstraction.Internal;
1717[ DebuggerDisplay ( $ "{{{nameof(ToString)}(),nq}}") ]
1818[ StructLayout ( LayoutKind . Sequential , Pack = 4 , Size = 8 ) ]
1919internal struct CoordinateVariance {
20- private ( int Latitude , int Longitude ) _current = ( 0 , 0 ) ;
20+ private ( int Latitude , int Longitude ) _current ;
2121
2222 /// <summary>
23- /// Initializes a new instance of the <see cref="CoordinateVariance"/> struct with the specified latitude and longitude deltas.
23+ /// Initializes a new instance of the <see cref="CoordinateVariance"/> struct with the default latitude and longitude deltas.
2424 /// </summary>
25- /// <param name="latitude">The initial latitude delta.</param>
26- /// <param name="longitude">The initial longitude delta.</param>
27- private CoordinateVariance ( int latitude , int longitude ) {
28- Latitude = latitude ;
29- Longitude = longitude ;
25+ public CoordinateVariance ( ) {
26+ _current = ( 0 , 0 ) ;
3027 }
3128
3229 /// <summary>
You can’t perform that action at this time.
0 commit comments