public void DrawCircle(Vector2 center, double radius, Color color, double depth) { int maxSegments = 50; //int segmentSize = 5; int segments = maxSegments; for (int i = 0; i < segments; i++) { Vector2 point1 = Vector2Utils.ConstructVectorFromPolar(radius, i * (2 * Math.PI / segments)) + center; Vector2 point2 = Vector2Utils.ConstructVectorFromPolar(radius, ((i + 1) % segments) * (2 * Math.PI / segments)) + center; DrawLine(point1, point2, color, depth); } }