daily update on 20230408 by nitload youmu

This commit is contained in:
Nitload
2023-04-08 01:34:08 +08:00
parent 8641b24206
commit daaa62579b
196 changed files with 2983 additions and 174 deletions
+13 -1
View File
@@ -14,6 +14,17 @@ namespace StgSharp.Geometries
internal Point _radius;
internal Point _angle;
internal RenderMode _renderMode;
internal readonly uint bornTick;
public Arc(uint bornTime) : base(bornTime)
{
bornTick = bornTime;
}
public Arc(Counter<uint> tickCounter) : base(tickCounter)
{
bornTick = tickCounter._value;
}
public override Point BasePoint => _basePoint;
@@ -25,7 +36,7 @@ namespace StgSharp.Geometries
public override RenderMode renderMode => _renderMode;
internal sealed override void CalcVec01(uint tick)
{
@@ -50,6 +61,7 @@ namespace StgSharp.Geometries
internal override void OnRender(uint tick)
{
tick-=bornTick;
CalcVec01(tick);
switch (_renderMode)
{