mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 03:25:41 +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>
|
/// <returns>The converted circle.</returns>
|
||||||
public static CircleF FromCircle(Circle circle)
|
public static CircleF FromCircle(Circle circle)
|
||||||
{
|
{
|
||||||
return new Circle(circle.Center, circle.Radius);
|
return new CircleF(circle.Center, circle.Radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user