Daily update on 20231211 by nitload youmu
This commit is contained in:
@@ -3,6 +3,9 @@ using System;
|
||||
|
||||
namespace StgSharp.Geometries
|
||||
{
|
||||
/// <summary>
|
||||
/// Part of a circle. All points on a arc has the same distance to their center.
|
||||
/// </summary>
|
||||
public class Arc : PlainGeometry
|
||||
{
|
||||
internal Point center;
|
||||
@@ -22,7 +25,7 @@ namespace StgSharp.Geometries
|
||||
|
||||
internal override void UpdateCoordinate(uint tick)
|
||||
{
|
||||
tick -= bornTick;
|
||||
tick = time;
|
||||
center.Position = this.coordinate.origin + MoveCenter(tick);
|
||||
beginPoint.Position = this.coordinate.origin + MovBegin(tick);
|
||||
endPoint.Position = this.coordinate.origin + MovEnd(tick);
|
||||
|
||||
Reference in New Issue
Block a user