peuker werkt universeel nu. Scaling is het laatste probleem 😒

This commit is contained in:
BuildTools
2020-08-02 19:25:04 +02:00
parent 748026a019
commit a3c35905e8
31 changed files with 69 additions and 29 deletions

View File

@@ -16,8 +16,8 @@ namespace Globals
Naam = naam;
if (Graden)
{
X = ConvertToRadians(x);
Y = ConvertToRadians(y);
X = ConvertToRadians(x) * 100;
Y = ConvertToRadians(y) * 100;
}
else
{
@@ -44,5 +44,17 @@ namespace Globals
public bool Graden = true;
public override bool Equals(object obj)
{
try
{
Punt p = (Punt)obj;
return (p.X == this.X && p.Y == this.Y); // && this.Name = p.Name
} catch (Exception)
{
return false;
}
}
}
}