This commit is contained in:
Izzy De nil
2020-08-01 15:37:51 +02:00
parent 414db7f523
commit d08b1b4a03
69 changed files with 533 additions and 153 deletions

View File

@@ -14,8 +14,16 @@ namespace Globals
public Punt(double x, double y, string naam = "")
{
Naam = naam;
X = ConvertToRadians(x);
Y = ConvertToRadians(y);
if (Graden)
{
X = ConvertToRadians(x);
Y = ConvertToRadians(y);
}
else
{
X = x;
Y = y;
}
}
public override string ToString()
@@ -34,5 +42,7 @@ namespace Globals
return new Point(X, Y);
}
public bool Graden = false;
}
}