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 -2
View File
@@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp
namespace StgSharp.Geometries
{
public class Line:IGeometry
{
@@ -15,7 +15,7 @@ namespace StgSharp
internal GetLocationHandler _beginPointMov;
internal GetLocationHandler _endPointMov;
internal RenderMode _renderMode;
internal readonly uint bornTick;
public override Point BasePoint => _basePoint;
@@ -25,6 +25,16 @@ namespace StgSharp
public override Point RefVec02 => default;
public override RenderMode renderMode => _renderMode;
public Line(uint bornTime) : base(bornTime)
{
bornTick = bornTime;
}
public Line(Counter<uint> tickCounter) : base(tickCounter)
{
bornTick = tickCounter._value;
}
public override float SetArrayX()
{
throw new NotImplementedException();
@@ -56,6 +66,7 @@ namespace StgSharp
internal override void OnRender(uint tick)
{
tick -= bornTick;
CalcVec01(tick);
switch (_renderMode)
{