New IO structure, unexpexted error in C code

This commit is contained in:
Nitload
2023-06-22 03:33:24 +08:00
parent 50b4965e54
commit ee8132c149
172 changed files with 1344 additions and 4023 deletions
@@ -1,8 +1,4 @@
using StgSharp.Control;
using StgSharp.Math;
using System;
using System.Collections.Generic;
using System.Text;
using StgSharp.Math;
namespace StgSharp.Geometries
{
@@ -10,13 +6,13 @@ namespace StgSharp.Geometries
{
internal Point center;
public override sealed Point RefPoint01=>center;
public sealed override Point RefPoint01 => center;
public override sealed Point RefPoint02 => vertex01;
public sealed override Point RefPoint02 => vertex01;
public sealed override Point RefPoint03 => vertex02;
public override sealed Point RefPoint03 => vertex02;
/// <summary>
/// 计算中心点相对于参考原点的位移
@@ -35,9 +31,9 @@ namespace StgSharp.Geometries
return this.center.Position * 2 - this.vertex02.Position;
}
internal override sealed void OnRender(uint tick)
internal sealed override void OnRender(uint tick)
{
tick-=bornTick;
tick -= bornTick;
this.MovCenter(tick);
}