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:
parent
c8d2a5cbec
commit
0ba7781462
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user