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,5 @@
using StgSharp.Control;
using StgSharp.Math;
using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Geometries
{
@@ -10,7 +7,7 @@ namespace StgSharp.Geometries
{
internal Point center;
public override sealed Point RefPoint01 => center;
public sealed override Point RefPoint01 => center;
public sealed override Point RefPoint02 => vertex01;
public sealed override Point RefPoint03 => vertex02;
@@ -41,9 +38,9 @@ namespace StgSharp.Geometries
throw new UnusedVertexException();
}
internal override sealed void OnRender(uint tick)
internal sealed override void OnRender(uint tick)
{
uint nowTick = ProgramTimeLine.tickCounter._value;
uint nowTick = TimeLine.tickCounter._value;
this.vertex01.Position = RefOrigin.Position + movVertex01Operation(nowTick);
this.vertex02.Position = RefOrigin.Position + movVertex02Operation(nowTick);
this.vertex03.Position = 2 * center.Position - vertex01.Position;