1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 04:05:40 +00:00

Fix StackOverflow in FromCircle

This commit is contained in:
Oliver Booth 2022-12-01 12:05:53 +00:00
parent c8d2a5cbec
commit 0ba7781462
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -191,7 +191,7 @@ public readonly struct CircleF : IEquatable<CircleF>, IComparable<CircleF>, ICom
/// <returns>The converted circle.</returns>
public static CircleF FromCircle(Circle circle)
{
return new Circle(circle.Center, circle.Radius);
return new CircleF(circle.Center, circle.Radius);
}
/// <summary>