mirror of
https://github.com/bvanroll/cs-map-project.git
synced 2025-08-29 20:02:43 +00:00
commit
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user